From: vsr Date: Fri, 17 Apr 2020 10:51:01 +0000 (+0300) Subject: Include SalomeMacros.cmake with NO_POLICY_SCOPE to apply policies X-Git-Tag: V9_5_0b1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=750e25be1bee97d6a7e53a39d2ff3fe453fc3b4f;p=tools%2Fmedcoupling.git Include SalomeMacros.cmake with NO_POLICY_SCOPE to apply policies --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 707bcd9ff..b493937fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()