Windows: suppress Cmake warnings

This commit is contained in:
ana 2016-07-25 17:07:02 +03:00
parent a60d97e956
commit 8b0afae997

View File

@ -21,6 +21,9 @@ PROJECT(SalomeNETGENPLUGIN 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
# ===========