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

index 97d6b5a51aff03340e95c672d14078f692258ec1..fa6c53b3def2355b6ec361fdb30baebc003604b1 100644 (file)
@@ -21,12 +21,6 @@ PROJECT(SalomeSMESH C CXX)
 
 INCLUDE(CMakeDependentOption)
 
-# 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