Mercurial > trustbridge
diff 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 |
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)