From: vsr Date: Thu, 16 Apr 2020 18:01:59 +0000 (+0300) Subject: Fix error in previous commit X-Git-Tag: V9_5_0b1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d3c6dcd6fbe1e89f75076ef53e61a529667353e7;p=modules%2Fparavis.git Fix error in previous commit --- diff --git a/test/standalone/CMakeLists.txt b/test/standalone/CMakeLists.txt index e4db36d4..e7b5d8f5 100644 --- a/test/standalone/CMakeLists.txt +++ b/test/standalone/CMakeLists.txt @@ -20,7 +20,10 @@ PROJECT(LightPARAVIS) CMAKE_MINIMUM_REQUIRED(VERSION 2.8.10) - +CMAKE_POLICY(SET CMP0053 NEW) # for correct Qt 5 detection procedure +IF(WIN32) + CMAKE_POLICY(SET CMP0020 OLD) # disable automatic linking to qtmain.lib +ENDIF(WIN32) SET(CMAKE_BUILD_TYPE "Debug") OPTION(LIGHTPARAVIS_WITH_GUI "Build GUI test app" ON)