From: vsr Date: Fri, 17 Apr 2020 18:11:24 +0000 (+0300) Subject: Include SalomeMacros.cmake with NO_POLICY_SCOPE to apply policies X-Git-Tag: V9_5_0b1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7aa2e04aff0f2cb1e0f3504e7af78f36ed16a0dd;p=tools%2Fdocumentation.git Include SalomeMacros.cmake with NO_POLICY_SCOPE to apply policies --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c9f26c5..563a61a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,13 +38,12 @@ SET(${PROJECT_NAME_UC}_VERSION_DEV 1) SET(CONFIGURATION_ROOT_DIR $ENV{CONFIGURATION_ROOT_DIR} CACHE PATH "Path to the Salome CMake configuration 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() INCLUDE(SalomeSetupPlatform) -INCLUDE(SalomeMacros) # Find prerequisites needed to documentation generation # ==================================================