Suppress CMake warning about qtmain

This commit is contained in:
Peter Kümmel 2015-10-23 16:59:31 +02:00
parent c39869cc61
commit ec6f51b373

View File

@ -47,6 +47,7 @@ if(COMMAND cmake_policy)
# COMPILE_DEFINITIONS are not used yet. Enable new behavior.
cmake_policy(SET CMP0043 NEW)
endif()
cmake_policy(SET CMP0020 OLD)
endif()
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)