aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-19 17:02:44 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-19 17:02:44 +0300
commit1929cc10c833518e88c872312ceb222dc3dea0eb (patch)
tree8141cbd3df13110015ed5d3c4172586522e94946
parentcommon.cmake update (diff)
downloadprivilege-check-1929cc10c833518e88c872312ceb222dc3dea0eb.tar.gz
privilege-check-1929cc10c833518e88c872312ceb222dc3dea0eb.zip
common.cmake update
-rw-r--r--common.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.cmake b/common.cmake
index 474deb4..d719542 100644
--- a/common.cmake
+++ b/common.cmake
@@ -1,6 +1,12 @@
+# Copyright (c) 2017 Egor Tensin <Egor.Tensin@gmail.com>
# It's a CMake code snippet I use in all of my CMake projects.
# It makes targets link the runtime statically by default + strips debug
# symbols in release builds.
+# The latest version can be found at
+# https://gist.github.com/egor-tensin/cmake-common.
+# Distributed under the MIT License.
+
+# Version: 2017-05-19T13:51:22+00:00
get_directory_property(parent_directory PARENT_DIRECTORY)
set(is_root_project $<NOT:parent_directory>)