Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1ae1787
)
Find 'boost' in Locale module if it was not found before.
author
azv
<azv@opencascade.com>
Wed, 30 Dec 2020 21:00:13 +0000
(
00:00
+0300)
committer
azv
<azv@opencascade.com>
Mon, 4 Oct 2021 10:38:27 +0000
(13:38 +0300)
src/Locale/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/Locale/CMakeLists.txt
b/src/Locale/CMakeLists.txt
index 332af8b86e832e5a05352734a2395774f5672885..a111cc1938e2bf87d5f14eac073d602a5efabb45 100644
(file)
--- a/
src/Locale/CMakeLists.txt
+++ b/
src/Locale/CMakeLists.txt
@@
-20,6
+20,11
@@
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}