From: vsr Date: Thu, 16 Apr 2020 17:24:49 +0000 (+0300) Subject: Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake X-Git-Tag: V9_5_0b1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ae059f876556977019ed0ba6d71321c4d888bdc7;p=modules%2Fkernel.git Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake --- 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