Salome HOME
projects
/
samples
/
light.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04c5db4
)
Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake
author
vsr
<vsr@opencascade.com>
Thu, 16 Apr 2020 17:25:56 +0000
(20:25 +0300)
committer
vsr
<vsr@opencascade.com>
Thu, 16 Apr 2020 17:25:56 +0000
(20:25 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 9152b555d4fce766ad178fc5992cacf9b8ad0b8f..6cfb4756c3fa84ed3b57134460b388184507d184 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-19,12
+19,6
@@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
PROJECT(SalomeLIGHT 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