vcpkg/ports/boost-uuid/opt-random.diff

14 lines
375 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e5130e59f8..a7b8cb5168 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@ target_link_libraries(boost_uuid
Boost::move
Boost::numeric_conversion
Boost::predef
- Boost::random
+ $<TARGET_NAME_IF_EXISTS:Boost::random>
Boost::static_assert
Boost::throw_exception
Boost::tti