]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake
authorvsr <vsr@opencascade.com>
Thu, 16 Apr 2020 16:52:45 +0000 (19:52 +0300)
committervsr <vsr@opencascade.com>
Thu, 16 Apr 2020 16:52:45 +0000 (19:52 +0300)
CMakeLists.txt

index 71b28cf597d5f0a70a06337945b18b891fd103b2..acdd05155bc3d29e1ae6e9b620ee6bb002deba86 100644 (file)
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
 PROJECT(SalomeBLSURFPLUGIN 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