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

index 2e1111c06c50f7b3b7d11aabe619d0fdd05b7c2c..7b138ff427d39a99108d4065d527cc652a845cda 100644 (file)
@@ -20,12 +20,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
 
 PROJECT(SalomeHOMARD 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