diff options
Diffstat (limited to 'vcpkg/ports/boost-math/features.cmake')
| -rw-r--r-- | vcpkg/ports/boost-math/features.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-math/features.cmake b/vcpkg/ports/boost-math/features.cmake new file mode 100644 index 0000000..c63efe8 --- /dev/null +++ b/vcpkg/ports/boost-math/features.cmake @@ -0,0 +1,10 @@ +vcpkg_check_features(
+ OUT_FEATURE_OPTIONS
+ FEATURE_OPTIONS
+ FEATURES
+ "legacy" BOOST_MATH_BUILD_WITH_LEGACY_FUNCTIONS
+)
+
+if(NOT BOOST_MATH_BUILD_WITH_LEGACY_FUNCTIONS)
+ set(Z_VCPKG_BOOST_FORCE_HEADER_ONLY ON)
+endif()
|