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

index f8c69ce85ded6cf4421c5327ea708e88b0b199dc..ad21737a81b82c53b77950c316e576e359b556ed 100644 (file)
@@ -21,12 +21,6 @@ INCLUDE(CMakeDependentOption)
 
 PROJECT(SalomeGEOM C CXX)
 
-# 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