]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake
authorvsr <vsr@opencascade.com>
Thu, 16 Apr 2020 17:33:07 +0000 (20:33 +0300)
committervsr <vsr@opencascade.com>
Thu, 16 Apr 2020 17:33:07 +0000 (20:33 +0300)
CMakeLists.txt
test/standalone/CMakeLists.txt

index 89707e4fd4e25b50a52a17b677108a166a9395ad..005c4d5fa1964a24c8399bffd92b15d73fa3d60f 100644 (file)
@@ -25,15 +25,6 @@ IF(WIN32)
   SET( CMAKE_SHARED_LINKER_FLAGS_DEBUG "${replacementFlags}" )
 ENDIF(WIN32)
 
-# For correct Qt 5 detection procedure
-CMAKE_POLICY(SET CMP0053 NEW)
-
-# Ensure a proper linker behavior:
-CMAKE_POLICY(SET CMP0003 NEW)
-IF(WIN32)
-  CMAKE_POLICY(SET CMP0020 OLD) # disable automatic linking to qtmain.lib
-ENDIF(WIN32)
-
 # Versioning
 # ===========
 # Project name, upper case
index e7b5d8f569c55573524b46e30abdbe364a675941..e4db36d4fd3e6f894bd9d189b2825757cb5668b9 100644 (file)
 
 PROJECT(LightPARAVIS)
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.10)
-CMAKE_POLICY(SET CMP0053 NEW) # for correct Qt 5 detection procedure
-IF(WIN32)
-  CMAKE_POLICY(SET CMP0020 OLD) # disable automatic linking to qtmain.lib 
-ENDIF(WIN32)
+
 SET(CMAKE_BUILD_TYPE "Debug")
 
 OPTION(LIGHTPARAVIS_WITH_GUI "Build GUI test app" ON)