From: bruneton Date: Thu, 18 Jul 2013 12:36:21 +0000 (+0000) Subject: CMake: set the flag Boost_NO_BOOST_CMAKE to avoid that the *standard* FindBoost.cmake X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=24b662cbbe2b2f731337b09565b6a47ba19d8cb4;p=modules%2Fyacs.git CMake: set the flag Boost_NO_BOOST_CMAKE to avoid that the *standard* FindBoost.cmake tries to do a find_package() in config mode ... man what were they having in mind when they wrote this ... --- diff --git a/salome_adm/cmake_files/FindSalomeBoost.cmake b/salome_adm/cmake_files/FindSalomeBoost.cmake index c20a0e505..8398b9909 100644 --- a/salome_adm/cmake_files/FindSalomeBoost.cmake +++ b/salome_adm/cmake_files/FindSalomeBoost.cmake @@ -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)