From ae059f876556977019ed0ba6d71321c4d888bdc7 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 16 Apr 2020 20:24:49 +0300 Subject: [PATCH] Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake --- CMakeLists.txt | 3 --- src/AppQuickStart/app-template/CMakeLists.txt | 3 --- 2 files changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f2905228..3d1ebe5d7 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,9 +21,6 @@ INCLUDE(CMakeDependentOption) PROJECT(SalomeKERNEL C CXX) -# Ensure a proper linker behavior: -CMAKE_POLICY(SET CMP0003 NEW) - # Versioning # =========== # Project name, upper case diff --git a/src/AppQuickStart/app-template/CMakeLists.txt b/src/AppQuickStart/app-template/CMakeLists.txt index 83df415cf..5b0360f7b 100644 --- a/src/AppQuickStart/app-template/CMakeLists.txt +++ b/src/AppQuickStart/app-template/CMakeLists.txt @@ -19,9 +19,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR) PROJECT(Salome_[Name_of_Application]_Profile C CXX) -# Ensure a proper linker behavior: -CMAKE_POLICY(SET CMP0003 NEW) - # Versioning # =========== # Project name, upper case -- 2.39.2