-# 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()
INCLUDE(SalomeSetupPlatform)
SET(BUILD_SHARED_LIBS TRUE)
-INCLUDE(SalomeMacros)
FIND_PACKAGE(SalomeQt5 REQUIRED)
INCLUDE(UseQtExt)
INCLUDE_DIRECTORIES(