From 4954b102c1f43cc691674184722791bd25c1ba6a Mon Sep 17 00:00:00 2001 From: bergmann Date: Mon, 15 Oct 2018 20:15:42 +0200 Subject: [PATCH] * Fixed cmake files --- .gitmodules | 3 +++ CMakeLists.txt | 4 +++- cmake/modules | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 cmake/modules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a89889c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "cmake/modules"] + path = cmake/modules + url = b3rgmann@git.bergmann89.de:cpp/CmakeModules.git diff --git a/CMakeLists.txt b/CMakeLists.txt index aa2756a..845d23f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,9 @@ Include ( CTest ) If ( NOT CMAKE_BUILD_TYPE ) Set ( CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build!" FORCE ) EndIf ( NOT CMAKE_BUILD_TYPE ) -Set ( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../../../inc/cmake/") +Set ( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} + "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" + "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" ) # Projects ######################################################################################## diff --git a/cmake/modules b/cmake/modules new file mode 160000 index 0000000..b125a1a --- /dev/null +++ b/cmake/modules @@ -0,0 +1 @@ +Subproject commit b125a1a176ae0aada1cd2ec90919061d202dcea9