comparison CMakeLists.txt @ 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 ad61489ce593
children ec0f4efefb7b
comparison
equal deleted inserted replaced
73:5c616934cbe4 74:7ed285380301
3 3
4 option(DO_RELEASE_BUILD "Build for a public release." OFF) 4 option(DO_RELEASE_BUILD "Build for a public release." OFF)
5 option(ENABLE_PROFILING "Set to enable profiling." OFF) 5 option(ENABLE_PROFILING "Set to enable profiling." OFF)
6 6
7 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") 7 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
8
9 #Old qtmain linking behavior to be compatible with cmake versions < 2.8.11
10 cmake_policy(SET CMP0020 OLD)
8 11
9 include(CTest) 12 include(CTest)
10 include(GenerateCppcheck) 13 include(GenerateCppcheck)
11 14
12 find_package(PolarSSL) 15 find_package(PolarSSL)

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