CMakeLists.txt: clarify comments
This commit is contained in:
parent
3067e15929
commit
77968ea165
|
@ -62,12 +62,13 @@ if (USE_SYSTEM_TERMO)
|
||||||
message (FATAL_ERROR "System termo library not found")
|
message (FATAL_ERROR "System termo library not found")
|
||||||
endif (NOT Termo_FOUND)
|
endif (NOT Termo_FOUND)
|
||||||
else (USE_SYSTEM_TERMO)
|
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)
|
add_subdirectory (termo EXCLUDE_FROM_ALL)
|
||||||
# We don't have many good choices when we don't want to install it and want
|
# We don't have many good choices; this is a relatively clean approach
|
||||||
# to support older versions of CMake; this is a relatively clean approach
|
# (other possibilities: setting a variable in the parent scope, using
|
||||||
# (other possibilities: setting a variable in the parent scope, using a
|
# a cache variable, writing a special config file with build paths in it
|
||||||
# cache variable, writing a special config file with build paths in it and
|
# and including it here, or setting a custom property on the targets)
|
||||||
# including it here, or setting a custom property on the targets).
|
|
||||||
get_directory_property (Termo_INCLUDE_DIRS
|
get_directory_property (Termo_INCLUDE_DIRS
|
||||||
DIRECTORY termo INCLUDE_DIRECTORIES)
|
DIRECTORY termo INCLUDE_DIRECTORIES)
|
||||||
set (Termo_LIBRARIES termo-static)
|
set (Termo_LIBRARIES termo-static)
|
||||||
|
|
Loading…
Reference in New Issue