Skip to content

Commit 2965d76

Browse files
committed
CMake: fix failing build due to unsupported CONCAT command (CMake version 2.8.12)
Thanks to "dan0nl" for reporting the issue.
1 parent e5e994a commit 2965d76

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ if (NOT CPACK_PACKAGE_CONTACT OR CPACK_PACKAGE_CONTACT STREQUAL "")
5151
if (GIT_USER_NAME AND GIT_USER_EMAIL)
5252
message(STATUS "Maintainer contact for packages is not specified "
5353
"- using a name and email from the git configuration")
54-
string(CONCAT CPACK_PACKAGE_CONTACT
55-
${GIT_USER_NAME} " <" ${GIT_USER_EMAIL} ">")
54+
set(CPACK_PACKAGE_CONTACT "${GIT_USER_NAME} <${GIT_USER_EMAIL}>")
5655
endif()
5756
endif()
5857

0 commit comments

Comments
 (0)