]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Find 'boost' in Locale module if it was not found before.
authorazv <azv@opencascade.com>
Wed, 30 Dec 2020 21:00:13 +0000 (00:00 +0300)
committerazv <azv@opencascade.com>
Mon, 4 Oct 2021 10:38:27 +0000 (13:38 +0300)
src/Locale/CMakeLists.txt

index 332af8b86e832e5a05352734a2395774f5672885..a111cc1938e2bf87d5f14eac073d602a5efabb45 100644 (file)
 INCLUDE(Common)
 INCLUDE(UnitTest)
 
+IF(NOT Boost_INCLUDE_DIR)
+  FILE(TO_CMAKE_PATH "$ENV{BOOST_ROOT_DIR}" BOOST_ROOT)
+  FIND_PACKAGE(Boost REQUIRED)
+ENDIF()
+
 INCLUDE_DIRECTORIES(
     ${CMAKE_CURRENT_SOURCE_DIR}
     ${Boost_INCLUDE_DIR}