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

index e51bba750338b4a7ba180ea245631fbcb54b9137..cbaa62986ff623b4c9c6b7ac90c3fae9ad510dd9 100644 (file)
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
 PROJECT(SalomeGHS3DPLUGIN 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