From 0a2b964e67fae0b6a1c8217dabbf844f0c424b3b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 8 Dec 2019 19:10:18 +0300 Subject: add cmake-common as a submodule --- .gitmodules | 3 +++ CMakeLists.txt | 2 +- cmake | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 cmake diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d65ecb9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "cmake"] + path = cmake + url = https://github.com/egor-tensin/cmake-common.git diff --git a/CMakeLists.txt b/CMakeLists.txt index d239356..658a8d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ project(privilege_check CXX) -include(common.cmake) +include(cmake/common.cmake) file(GLOB cpp_files "src/*.cpp") file(GLOB header_files "src/*.h" "src/*.hpp") diff --git a/cmake b/cmake new file mode 160000 index 0000000..2bae67a --- /dev/null +++ b/cmake @@ -0,0 +1 @@ +Subproject commit 2bae67a4721aa39d2c24e89e00fa07e221654a90 -- cgit v1.2.3