SET( CMAKE_SHARED_LINKER_FLAGS_DEBUG "${replacementFlags}" )
ENDIF(WIN32)
-# For correct Qt 5 detection procedure
-CMAKE_POLICY(SET CMP0053 NEW)
-
-# 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
# ===========
# Project name, upper case
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)