From d1a2db4c30bcb88ba7a08e578575192eeebf63a8 Mon Sep 17 00:00:00 2001 From: ana Date: Mon, 25 Jul 2016 17:05:40 +0300 Subject: [PATCH] Windows: suppress Cmake warnings --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7be7e2a..eae8828 100755 --- 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 # =========== -- 2.39.2