]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Include SalomeMacros.cmake with NO_POLICY_SCOPE to apply policies
authorvsr <vsr@opencascade.com>
Fri, 17 Apr 2020 10:51:01 +0000 (13:51 +0300)
committervsr <vsr@opencascade.com>
Fri, 17 Apr 2020 10:51:01 +0000 (13:51 +0300)
CMakeLists.txt

index 707bcd9ffd673f6bfdb6a97e94b6b71a7b5b7f6c..b493937fad57c372551c6483c10da9e4402a8310 100644 (file)
@@ -36,7 +36,7 @@ SET(${PROJECT_NAME_UC}_VERSION
 SET(CONFIGURATION_ROOT_DIR $ENV{CONFIGURATION_ROOT_DIR} CACHE PATH "Path to the Salome CMake files")
 IF(EXISTS ${CONFIGURATION_ROOT_DIR})
   LIST(APPEND CMAKE_MODULE_PATH "${CONFIGURATION_ROOT_DIR}/cmake")
-  INCLUDE(SalomeMacros)
+  INCLUDE(SalomeMacros NO_POLICY_SCOPE)
 ELSE()
   MESSAGE(FATAL_ERROR "We absolutely need the Salome CMake configuration files, please define CONFIGURATION_ROOT_DIR !")
 ENDIF()