vcpkg/ports/omplapp/fix_boost_static_link.patch
Jack·Boos·Yu e1aaeb2356
[vcpkg baseline][many ports] Fix build failures (#22180)
* [vcpkg baseline][omplapp] Fix dependencies, add features

* version

* [sdformat9] Add the required dependency urdfdom-headers

* [ignition-math6] Fix build error

* version

* [botan] Fix the pkgconfig again

* version
2021-12-28 13:24:18 -08:00

18 lines
711 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4b391b5..24d2c66 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,10 +36,10 @@ set(OMPL_DEMO_INSTALL_DIR "${CMAKE_INSTALL_DATAROOTDIR}/ompl/demos"
set(OMPL_CMAKE_UTIL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ompl/CMakeModules"
CACHE FILEPATH "Path to directory with auxiliary CMake scripts for OMPL")
-if(MSVC)
+if(false)
add_definitions(-DBOOST_ALL_NO_LIB)
add_definitions(-DBOOST_PROGRAM_OPTIONS_DYN_LINK)
-endif(MSVC)
+endif(false)
# Ensure dynamic linking with boost unit_test_framework
add_definitions(-DBOOST_TEST_DYN_LINK)
# Avoid valgrind error due to overflow error, cf. https://bitbucket.org/ompl/ompl/issues/543