Salome HOME
projects
/
modules
/
yacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10b7181
)
CMake: creation of the macros SALOME_UPDATE_FLAG_AND_LOG_PACKAGE() and SALOME_PACKAGE...
author
bruneton
<bruneton>
Tue, 27 Aug 2013 08:57:32 +0000
(08:57 +0000)
committer
bruneton
<bruneton>
Tue, 27 Aug 2013 08:57:32 +0000
(08:57 +0000)
The two are used to register optional packages and to turn off specific configuration
flags when the optional prerequisites is not found. The final setup is printed on screen through
SALOME_PACKAGE_REPORT()
salome_adm/cmake_files/SalomeMacros.cmake
patch
|
blob
|
history
diff --git
a/salome_adm/cmake_files/SalomeMacros.cmake
b/salome_adm/cmake_files/SalomeMacros.cmake
index 454bb47e6c5bc880fd567f0037528c5c878c8984..c056a22c4237cb53b0ba356c48a31ec58c5672d7 100755
(executable)
--- a/
salome_adm/cmake_files/SalomeMacros.cmake
+++ b/
salome_adm/cmake_files/SalomeMacros.cmake
@@
-242,7
+242,7
@@
MACRO(SALOME_UPDATE_FLAG_AND_LOG_PACKAGE pkg flag)
ENDIF()
# If the package was not found, force the cache flag to OFF
- IF(NOT isFound)
+ IF(NOT
_
isFound)
SET(${flag} OFF)
ENDIF()
ENDMACRO(SALOME_UPDATE_FLAG_AND_LOG_PACKAGE)