]> SALOME platform Git repositories - modules/gui.git/blobdiff - tools/RemoteFileBrowser/CMakeLists.txt
Salome HOME
Updated copyright comment
[modules/gui.git] / tools / RemoteFileBrowser / CMakeLists.txt
index e51751f8d89c6312414f1c37ae00c266530883db..d9e9b58e31ef583fb1b04d2cefac53f0809aa522 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
 PROJECT(RemoteFileBrowser CXX)
 
-CMAKE_POLICY(SET CMP0003 NEW)
-
 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()
@@ -37,7 +35,6 @@ SET(REMOTEFILEBROWSER_INSTALL_HEADERS include CACHE PATH "Install path: RemoteFi
 
 INCLUDE(SalomeSetupPlatform)
 SET(BUILD_SHARED_LIBS TRUE)
-INCLUDE(SalomeMacros)
 FIND_PACKAGE(SalomeQt5 REQUIRED)
 INCLUDE(UseQtExt)
 INCLUDE_DIRECTORIES(