CMakeLists: fix a logic issue.
This commit is contained in:
parent
8a5d9c4231
commit
e799f1be04
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ set(CMAKE_CXX_EXTENSIONS ON)
|
||||||
|
|
||||||
option(USE_CORRADE_SUBMODULE "Use Corrade from the Git submodule. If set to OFF, make sure you have Corrade 2020.06 or later installed to a path CMake can search in." ON)
|
option(USE_CORRADE_SUBMODULE "Use Corrade from the Git submodule. If set to OFF, make sure you have Corrade 2020.06 or later installed to a path CMake can search in." ON)
|
||||||
|
|
||||||
if(NOT USE_CORRADE_SUBMODULE)
|
if(USE_CORRADE_SUBMODULE)
|
||||||
set(BUILD_STATIC ON CACHE BOOL "" FORCE)
|
set(BUILD_STATIC ON CACHE BOOL "" FORCE)
|
||||||
set(WITH_INTERCONNECT OFF CACHE BOOL "" FORCE)
|
set(WITH_INTERCONNECT OFF CACHE BOOL "" FORCE)
|
||||||
set(WITH_PLUGINMANAGER OFF CACHE BOOL "" FORCE)
|
set(WITH_PLUGINMANAGER OFF CACHE BOOL "" FORCE)
|
||||||
|
|
Loading…
Reference in a new issue