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:
45a1498
)
Windows: suppress Cmake warnings
author
ana
<ana@opencascade.com>
Mon, 25 Jul 2016 14:06:35 +0000
(17:06 +0300)
committer
ana
<ana@opencascade.com>
Mon, 25 Jul 2016 14:06:35 +0000
(17:06 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 79160236aee1d1bc5fc8cf39b1489492723c56aa..557a4e0a6fd7bd01fb5a1b21d908d9f0e26a456f 100755
(executable)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-21,6
+21,9
@@
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
# ===========