CMakeLists: ensure Corrade/Magnum builds deprecated stuff.

It usually should be for debug builds only, but, eh, I strip release
builds anyway.
This commit is contained in:
Guillaume Jacquemin 2022-04-18 11:49:01 +02:00
parent 2493cb5988
commit 4c4ac469e0

View file

@ -29,6 +29,7 @@ set(WITH_INTERCONNECT OFF CACHE BOOL "" FORCE)
set(WITH_PLUGINMANAGER OFF CACHE BOOL "" FORCE)
set(WITH_TESTSUITE OFF CACHE BOOL "" FORCE)
set(WITH_MAIN ON CACHE BOOL "" FORCE)
set(BUILD_DEPRECATED ON CACHE BOOL "" FORCE)
add_subdirectory(third-party/corrade EXCLUDE_FROM_ALL)
set(DIRECTX OFF CACHE BOOL "" FORCE) # We use OpenGL.