summaryrefslogtreecommitdiff
path: root/cmake/mysql_add_executable.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-04-08 08:46:33 +0200
committerSergei Golubchik <sergii@pisem.net>2014-04-08 08:46:33 +0200
commit2d464b6eb7f15d5ec222a6f898ad4d523c25a4ac (patch)
treefd79c91c8eb5075612d9382684aeb0bc835fa009 /cmake/mysql_add_executable.cmake
parent5f0c98c17bc80bd725754c1095734b97870df835 (diff)
downloadmariadb-git-2d464b6eb7f15d5ec222a6f898ad4d523c25a4ac.tar.gz
line endings
Diffstat (limited to 'cmake/mysql_add_executable.cmake')
-rw-r--r--cmake/mysql_add_executable.cmake16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmake/mysql_add_executable.cmake b/cmake/mysql_add_executable.cmake
index b1e1d3129e6..b5f6b27abab 100644
--- a/cmake/mysql_add_executable.cmake
+++ b/cmake/mysql_add_executable.cmake
@@ -43,14 +43,14 @@ FUNCTION (MYSQL_ADD_EXECUTABLE)
IF(NOT ARG_EXCLUDE_FROM_ALL)
IF(NOT ARG_DESTINATION)
SET(ARG_DESTINATION ${INSTALL_BINDIR})
- ENDIF()
- IF(ARG_COMPONENT)
- SET(COMP COMPONENT ${ARG_COMPONENT})
- ELSEIF(MYSQL_INSTALL_COMPONENT)
- SET(COMP COMPONENT ${MYSQL_INSTALL_COMPONENT})
- ELSE()
- SET(COMP COMPONENT Client)
+ ENDIF()
+ IF(ARG_COMPONENT)
+ SET(COMP COMPONENT ${ARG_COMPONENT})
+ ELSEIF(MYSQL_INSTALL_COMPONENT)
+ SET(COMP COMPONENT ${MYSQL_INSTALL_COMPONENT})
+ ELSE()
+ SET(COMP COMPONENT Client)
ENDIF()
MYSQL_INSTALL_TARGETS(${target} DESTINATION ${ARG_DESTINATION} ${COMP})
ENDIF()
-ENDFUNCTION()
+ENDFUNCTION()