summaryrefslogtreecommitdiff
path: root/cmake/install_macros.cmake
diff options
context:
space:
mode:
authorSeppo Jaakola <seppo.jaakola@codership.com>2013-10-07 08:57:23 +0300
committerSeppo Jaakola <seppo.jaakola@codership.com>2013-10-07 08:57:23 +0300
commit255e20a17534cf3b56201562990d5e5e01bccd33 (patch)
tree549ea21aabae5b114bc24707ec37873334203a6f /cmake/install_macros.cmake
parent06a7eeb992fe881f056fe83a8b716b3a81f224ff (diff)
downloadmariadb-git-255e20a17534cf3b56201562990d5e5e01bccd33.tar.gz
Merged revisions 3418..3424 from mariadb-galera-5.5
Diffstat (limited to 'cmake/install_macros.cmake')
-rw-r--r--cmake/install_macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake
index f9ff1f5cf31..a8a4d8299b3 100644
--- a/cmake/install_macros.cmake
+++ b/cmake/install_macros.cmake
@@ -32,7 +32,7 @@ MACRO (INSTALL_DSYM_DIRECTORIES targets)
# It's a dirty hack, but cmake too stupid and mysql cmake files too buggy */
STRING(REPLACE "liblibmysql.dylib" "libmysqlclient.${SHARED_LIB_MAJOR_VERSION}.dylib" location ${location})
IF(type MATCHES "EXECUTABLE" OR type MATCHES "MODULE" OR type MATCHES "SHARED_LIBRARY")
- INSTALL(DIRECTORY "${location}.dSYM" DESTINATION ${INSTALL_LOCATION} COMPONENT Debuginfo)
+ INSTALL(DIRECTORY "${location}.dSYM" DESTINATION ${ARG_DESTINATION} COMPONENT Debuginfo)
ENDIF()
ENDFOREACH()
ENDIF()