diff --git a/src/3rdParty/salomesmesh/CMakeLists.txt b/src/3rdParty/salomesmesh/CMakeLists.txt index 3424b78582..0b50c051a6 100644 --- a/src/3rdParty/salomesmesh/CMakeLists.txt +++ b/src/3rdParty/salomesmesh/CMakeLists.txt @@ -6,6 +6,8 @@ SET(SMESH_VERSION_MINOR 7) SET(SMESH_VERSION_PATCH 1) SET(SMESH_VERSION_TWEAK 0) +SetupBoost() + # Suppress gcc warnings if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -Wno-sign-compare -Wno-reorder -Wno-switch -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment -Wno-unused-parameter -Wno-empty-body -Wno-pedantic") diff --git a/src/App/CMakeLists.txt b/src/App/CMakeLists.txt index d97f8cd8d7..6fd991d20e 100644 --- a/src/App/CMakeLists.txt +++ b/src/App/CMakeLists.txt @@ -18,7 +18,7 @@ ENDIF(DOCDIR) #if you want to use the old DAG structure uncomment this line #add_definitions(-DUSE_OLD_DAG) - +SetupBoost() # ----------------------------------------------------------------------------- #write relevant cmake variables to a file for later access with python. Exported are all variables