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