Salome HOME
projects
/
samples
/
atomsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Windows: suppress Cmake warnings
[samples/atomsolv.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index fcb79e40034738bbd6a7faa690578d299fe9d4b1..a1f7dbc608791ab0b8c63f146bf50774e0ec0e07 100755
(executable)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-21,6
+21,9
@@
PROJECT(SalomeATOMSOLV 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
# ===========