Skip to content
Snippets Groups Projects
Commit 68075680 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Formatting

parent d8dc4960
Branches
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ include_guard ()
This macro also allows to create a unit test executable with the same command.
In most cases, after this command only link libraries have to be set and
In most cases, after this command only link libraries have to be set and
optionally install directives.
Note: when using generated export headers from cmake, these have to be added
......@@ -52,14 +52,14 @@ include_guard ()
Optional namespace for the alias target of the library.
At least NAMESPACE or IDE_FOLDER must be given. If only one is given, the other
At least NAMESPACE or IDE_FOLDER must be given. If only one is given, the other
one will be set to the value of the given one.
.. variable:: IDE_FOLDER
Optional IDE folder for the library target(s).
At least NAMESPACE or IDE_FOLDER must be given. If only one is given, the other
At least NAMESPACE or IDE_FOLDER must be given. If only one is given, the other
one will be set to the value of the given one.
.. variable:: INCLUDE_DIR
......@@ -132,10 +132,7 @@ macro (ihta_add_library)
if (DEFINED IHTA_ADD_LIB_LIBRARY_TYPE)
set (IHTA_ADD_LIB_TYPES "STATIC" "SHARED")
if (NOT (${IHTA_ADD_LIB_LIBRARY_TYPE} IN_LIST IHTA_ADD_LIB_TYPES))
message (
FATAL_ERROR
"ihta_add_library only supports the following LIBRARY_TYPE's: STATIC, SHARED"
)
message (FATAL_ERROR "ihta_add_library only supports the following LIBRARY_TYPE's: STATIC, SHARED")
endif ()
else ()
set (IHTA_ADD_LIB_TYPES STATIC)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment