|
|
|
|
@ -30,11 +30,19 @@ if(HUNTER_ENABLED)
|
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/package/hunter/HunterInit.cmake) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
# Don't restrict INTERPROCEDURAL_OPTIMIZATION only for icc on Linux |
|
|
|
|
if(POLICY CMP0069) |
|
|
|
|
cmake_policy(SET CMP0069 NEW) |
|
|
|
|
endif() |
|
|
|
|
# If CMAKE_AUTOMOC is set, all uses of corrade_add_resource() would otherwise |
|
|
|
|
# complain on 3.10 that AUTOMOC is not processing GENERATED files |
|
|
|
|
if(POLICY CMP0071) |
|
|
|
|
cmake_policy(SET CMP0071 NEW) |
|
|
|
|
endif() |
|
|
|
|
# Superprojects can use just set(WITH_BLAH ON) without FORCE CACHE on 3.13+ |
|
|
|
|
if(POLICY CMP0077) |
|
|
|
|
cmake_policy(SET CMP0077 NEW) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
project(Magnum CXX) |
|
|
|
|
|
|
|
|
|
|