]> 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 28b51be821efdf464cf7c4315d1fc7b83751d456..d9e9b58e31ef583fb1b04d2cefac53f0809aa522 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017  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(
@@ -55,9 +52,10 @@ SET(qremotefilebrowser_SOURCES
   )
 
 SET(qremotefilebrowser_HEADERS
-  QRemoteFileBrowser
-  QRemoteCopyWidget
-  QMachineBrowser
+  QRemoteFileBrowser.h
+  QRemoteCopyWidget.h
+  QMachineBrowser.h
+  RemoteFileBrowser.h 
   )
 
 SET(qremotefilebrowser_LIBRARIES
@@ -65,9 +63,9 @@ SET(qremotefilebrowser_LIBRARIES
   )
 
 SET(_moc_HEADERS
-  QRemoteFileBrowser
-  QMachineBrowser
-  QRemoteCopyWidget
+  QRemoteFileBrowser.h
+  QMachineBrowser.h
+  QRemoteCopyWidget.h
   )
 
 # sources / moc wrappings