]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Locale/CMakeLists.txt
Salome HOME
updated copyright message
[modules/shaper.git] / src / Locale / CMakeLists.txt
index 332af8b86e832e5a05352734a2395774f5672885..014a80dad011173b02a68d37c4f52e94ad3b391a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2023  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 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}