Salome HOME
CMake: set the flag Boost_NO_BOOST_CMAKE to avoid that the *standard* FindBoost.cmake B4KillOfAutomake
authorbruneton <bruneton>
Thu, 18 Jul 2013 12:36:21 +0000 (12:36 +0000)
committerbruneton <bruneton>
Thu, 18 Jul 2013 12:36:21 +0000 (12:36 +0000)
tries to do a find_package() in config mode ... man what were they having in mind
when they wrote this ...

salome_adm/cmake_files/FindSalomeBoost.cmake

index c20a0e5056b8585ca3238d5ea86e3384db020d9a..8398b9909a2007a5cafc38a99b8003e33243c5f4 100644 (file)
@@ -26,6 +26,7 @@
 SET(Boost_USE_STATIC_LIBS        OFF)
 SET(Boost_USE_MULTITHREADED      ON )
 SET(Boost_USE_STATIC_RUNTIME     OFF)
+SET(Boost_NO_BOOST_CMAKE         ON)
 
 SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(Boost Boost_INCLUDE_DIRS 1)
 IF(Boost_FOUND OR BOOST_FOUND)