Commit b66745e9 authored by Sergei Golubchik's avatar Sergei Golubchik

fix a copy-paste error in 8fd654ce

that by a (un)lucky coincidence did not prevent 8fd654ce
from working properly
parent b55d960e
...@@ -80,12 +80,12 @@ FUNCTION (MYSQL_ADD_EXECUTABLE) ...@@ -80,12 +80,12 @@ FUNCTION (MYSQL_ADD_EXECUTABLE)
RETURN() RETURN()
ENDIF() ENDIF()
IF (WITH_STRIPPED_CLIENT AND NOT target STREQUAL mysqld) IF (WITH_STRIPPED_CLIENT AND NOT target STREQUAL mysqld)
INSTALL(CODE "SET(CMAKE_INSTALL_DO_STRIP 1)" ${COMP}) INSTALL(CODE "SET(CMAKE_INSTALL_DO_STRIP 1)" COMPONENT ${COMP})
SET(reset_strip ON) SET(reset_strip ON)
ENDIF() ENDIF()
MYSQL_INSTALL_TARGETS(${target} DESTINATION ${ARG_DESTINATION} COMPONENT ${COMP}) MYSQL_INSTALL_TARGETS(${target} DESTINATION ${ARG_DESTINATION} COMPONENT ${COMP})
IF (reset_strip) IF (reset_strip)
INSTALL(CODE "SET(CMAKE_INSTALL_DO_STRIP 0)" ${COMP}) INSTALL(CODE "SET(CMAKE_INSTALL_DO_STRIP 0)" COMPONENT ${COMP})
ENDIF() ENDIF()
ENDIF() ENDIF()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment