mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 23:15:18 +08:00
14 lines
349 B
Diff
14 lines
349 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index cf695409e4..ea9ffdf8eb 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -34,7 +34,7 @@ else()
|
||
|
Boost::integer
|
||
|
Boost::lexical_cast
|
||
|
Boost::predef
|
||
|
- Boost::random
|
||
|
+ $<TARGET_NAME_IF_EXISTS:Boost::random>
|
||
|
Boost::static_assert
|
||
|
Boost::throw_exception
|
||
|
)
|