summaryrefslogtreecommitdiff
path: root/cmake/install_macros.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-01-23 00:02:37 +0100
committerSergei Golubchik <sergii@pisem.net>2014-01-23 00:02:37 +0100
commit4fadce7ec61ec03f4b394c99b22b76dc80bdf9ac (patch)
tree7b3ec5fa37fc70a66c09f10c8cbda8684aae8735 /cmake/install_macros.cmake
parentb85ab1d464d193b5b75c8e857461c71cc126f5a2 (diff)
downloadmariadb-git-4fadce7ec61ec03f4b394c99b22b76dc80bdf9ac.tar.gz
Change our INSTALL_DEBUG_SYMBOLS cmake function to be less picky
and support MySQL CMakeLists.txt files
Diffstat (limited to 'cmake/install_macros.cmake')
-rw-r--r--cmake/install_macros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake
index f2e474395dc..b1af0bbdf39 100644
--- a/cmake/install_macros.cmake
+++ b/cmake/install_macros.cmake
@@ -25,10 +25,10 @@ FUNCTION (INSTALL_DEBUG_SYMBOLS)
)
IF(NOT ARG_COMPONENT)
- MESSAGE(FATAL_ERROR "No COMPONENT passed to INSTALL_DEBUG_SYMBOLS")
+ SET(ARG_COMPONENT DebugBinaries)
ENDIF()
IF(NOT ARG_INSTALL_LOCATION)
- MESSAGE(FATAL_ERROR "No INSTALL_LOCATION passed to INSTALL_DEBUG_SYMBOLS")
+ SET(ARG_INSTALL_LOCATION lib)
ENDIF()
SET(targets ${ARG_DEFAULT_ARGS})
FOREACH(target ${targets})