]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Fix error in previous commit
authorvsr <vsr@opencascade.com>
Thu, 16 Apr 2020 18:01:59 +0000 (21:01 +0300)
committervsr <vsr@opencascade.com>
Thu, 16 Apr 2020 18:01:59 +0000 (21:01 +0300)
test/standalone/CMakeLists.txt

index e4db36d4fd3e6f894bd9d189b2825757cb5668b9..e7b5d8f569c55573524b46e30abdbe364a675941 100644 (file)
 
 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)