diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f5e1b730..645c0a9b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,16 +27,17 @@ set(CMAKE_C_LINKER_PREFERENCE_PROPAGATES OFF) set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES ON) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") +include(opentrack-policy NO_POLICY_SCOPE) + +project(opentrack) +cmake_minimum_required(VERSION 3.10 FATAL_ERROR) include(CMakeDetermineCCompiler) include(CMakeDetermineCXXCompiler) include(CMakeParseArguments) -include(opentrack-mrproper) -project(opentrack) -cmake_minimum_required(VERSION 3.10 FATAL_ERROR) -include(opentrack-policy NO_POLICY_SCOPE) include(opentrack-load-user-settings) +include(opentrack-mrproper) set_property(GLOBAL PROPERTY opentrack-all-modules "") set_property(GLOBAL PROPERTY opentrack-all-source-dirs "") |