From 68075680bc3fd578cd0350ccbfe4ff6d01cffdce Mon Sep 17 00:00:00 2001 From: Pascal Palenda <pascal.palenda@akustik.rwth-aachen.de> Date: Wed, 15 Feb 2023 10:51:00 +0100 Subject: [PATCH] Formatting --- src/IhtaAddLibrary.cmake | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/IhtaAddLibrary.cmake b/src/IhtaAddLibrary.cmake index 235f319..6b9648c 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) -- GitLab