aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-06-20 06:26:10 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-06-20 06:32:06 +0200
commit77968ea165155e0422e3f7fd878306be1f1be66a (patch)
treeb6d299a48abca1c2b81df32096559dae729148bb /CMakeLists.txt
parent3067e1592906a878c298f8c90300f482520ca44d (diff)
downloadtdv-77968ea165155e0422e3f7fd878306be1f1be66a.tar.gz
tdv-77968ea165155e0422e3f7fd878306be1f1be66a.tar.xz
tdv-77968ea165155e0422e3f7fd878306be1f1be66a.zip
CMakeLists.txt: clarify comments
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c09ca7b..df62403 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,12 +62,13 @@ if (USE_SYSTEM_TERMO)
message (FATAL_ERROR "System termo library not found")
endif (NOT Termo_FOUND)
else (USE_SYSTEM_TERMO)
+ # We don't want the library to install, even though EXCLUDE_FROM_ALL
+ # sabotages CTest -- those unbuilt tests need to be excluded in CTest runs
add_subdirectory (termo EXCLUDE_FROM_ALL)
- # We don't have many good choices when we don't want to install it and want
- # to support older versions of CMake; this is a relatively clean approach
- # (other possibilities: setting a variable in the parent scope, using a
- # cache variable, writing a special config file with build paths in it and
- # including it here, or setting a custom property on the targets).
+ # We don't have many good choices; this is a relatively clean approach
+ # (other possibilities: setting a variable in the parent scope, using
+ # a cache variable, writing a special config file with build paths in it
+ # and including it here, or setting a custom property on the targets)
get_directory_property (Termo_INCLUDE_DIRS
DIRECTORY termo INCLUDE_DIRECTORIES)
set (Termo_LIBRARIES termo-static)