Skip to content

Commit

Permalink
CMake: fix failing build due to unsupported CONCAT command (CMake ver…
Browse files Browse the repository at this point in the history
…sion 2.8.12)

Thanks to "dan0nl" for reporting the issue.
  • Loading branch information
Lukas955 committed Jul 2, 2019
1 parent e5e994a commit 2965d76
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ if (NOT CPACK_PACKAGE_CONTACT OR CPACK_PACKAGE_CONTACT STREQUAL "")
if (GIT_USER_NAME AND GIT_USER_EMAIL)
message(STATUS "Maintainer contact for packages is not specified "
"- using a name and email from the git configuration")
string(CONCAT CPACK_PACKAGE_CONTACT
${GIT_USER_NAME} " <" ${GIT_USER_EMAIL} ">")
set(CPACK_PACKAGE_CONTACT "${GIT_USER_NAME} <${GIT_USER_EMAIL}>")
endif()
endif()

Expand Down

0 comments on commit 2965d76

Please sign in to comment.