aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/boost-math/opt-random.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/boost-math/opt-random.diff')
-rw-r--r--vcpkg/ports/boost-math/opt-random.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-math/opt-random.diff b/vcpkg/ports/boost-math/opt-random.diff
new file mode 100644
index 0000000..db3e173
--- /dev/null
+++ b/vcpkg/ports/boost-math/opt-random.diff
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7965bd1..4e6c492 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -38,7 +38,7 @@ else()
+ Boost::integer
+ Boost::lexical_cast
+ Boost::predef
+- Boost::random
++ $<TARGET_NAME_IF_EXISTS:Boost::random>
+ Boost::static_assert
+ Boost::throw_exception
+ )