]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Add missing libraries and definitions on win32 platform.
authorrnv <rnv@opencascade.com>
Thu, 17 Oct 2013 14:25:47 +0000 (14:25 +0000)
committerrnv <rnv@opencascade.com>
Thu, 17 Oct 2013 14:25:47 +0000 (14:25 +0000)
salome_adm/cmake_files/FindSalomeBoost.cmake

index f93a88afa5550f8fa0f95a4f4eb5669821c0f5e8..5deff116dad991323ded2dd8f582100063e2a7d9 100644 (file)
@@ -27,7 +27,7 @@ SET(Boost_USE_STATIC_LIBS        OFF)
 SET(Boost_USE_MULTITHREADED      ON)
 SET(Boost_USE_STATIC_RUNTIME     OFF)
 SET(Boost_NO_BOOST_CMAKE         ON)
-SET(SalomeBoost_FIND_COMPONENTS  filesystem regex signals system thread)
+SET(SalomeBoost_FIND_COMPONENTS  filesystem regex signals system thread date_time chrono)
 
 IF(WIN32)
   # Under windows, one extra sub-directory in the boost installation hierarchy:
@@ -42,7 +42,7 @@ ENDIF()
 
 ## Specific definitions:
 IF(WIN32)
-  SET(BOOST_DEFINITIONS -DBOOST_DISABLE_ASSERTS)
+  SET(BOOST_DEFINITIONS -DBOOST_DISABLE_ASSERTS -DBOOST_ALL_DYN_LINK)
 ENDIF()
 
 SALOME_ACCUMULATE_HEADERS(Boost_INCLUDE_DIRS)