changeset 74:7ed285380301

Add cmake policy for adding qtmain on Windows
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 19 Mar 2014 15:35:58 +0000
parents 5c616934cbe4
children ec0f4efefb7b
files CMakeLists.txt
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Mar 19 15:35:31 2014 +0000
+++ b/CMakeLists.txt	Wed Mar 19 15:35:58 2014 +0000
@@ -6,6 +6,9 @@
 
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
 
+#Old qtmain linking behavior to be compatible with cmake versions < 2.8.11
+cmake_policy(SET CMP0020 OLD)
+
 include(CTest)
 include(GenerateCppcheck)
 

http://wald.intevation.org/projects/trustbridge/