diff --git a/src/IhtaAddLibrary.cmake b/src/IhtaAddLibrary.cmake index 235f31970b672fa84bf0da3bbf51675e70ac2eb6..6b9648ca2938d94b032da615099b3e10145ae301 100644 --- a/src/IhtaAddLibrary.cmake +++ b/src/IhtaAddLibrary.cmake @@ -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)