Skip to content
Snippets Groups Projects
Commit 7c24db3b authored by Christoph Grüninger's avatar Christoph Grüninger Committed by Markus Blatt
Browse files

[CMake][release] Whitespace changes in DuneMacros.cmake.

(cherry picked from commit 65fb9105)

Signed-off-by: default avatarMarkus Blatt <markus@dr-blatt.de>
parent 3450b5ca
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ macro(find_dune_package module)
find_package(PkgConfig)
if(NOT PKG_CONFIG_FOUND AND required)
message(FATAL_ERROR "Could not find module ${module}. We tried to use"
"pkg-config but could not find it. ")
"pkg-config but could not find it. ")
endif(NOT PKG_CONFIG_FOUND AND required)
pkg_check_modules (${module} ${required} ${module}${DUNE_FIND_VERSION})
set(${module}_FAKE_CMAKE_PKGCONFIG TRUE)
......@@ -193,8 +193,8 @@ macro(find_dune_package module)
"in ${${module}_PREFIX}, ${${module}_PREFIX}/lib/dunecontrol/${module}/")
endif(NOT ${module}_dune_module)
if(module_version_wrong)
message(FATAL_ERROR "Could not find requested version of module ${module}.
Requested version was ${DUNE_FIND_VERSION}, found version is ${DUNE_FIND_MOD_VERSION_STRING}")
message(FATAL_ERROR "Could not find requested version of module ${module}. "
"Requested version was ${DUNE_FIND_VERSION}, found version is ${DUNE_FIND_MOD_VERSION_STRING}")
endif()
else(${module}_FOUND)
if(required)
......@@ -230,8 +230,8 @@ macro(split_module_version STRING MODULES VERSIONS)
version ${have_version})
else(have_version)
set(version " ") # Mark as no version requested.
# Having a space is mandatory as we will append it to a list
# and an empty string will not be treated as entry we append to it.
# Having a space is mandatory as we will append it to a list
# and an empty string will not be treated as entry we append to it.
endif(have_version)
list(APPEND ${MODULES} ${mod})
list(APPEND ${VERSIONS} ${version})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment