Browse Source

fix a copy-paste error in 8fd654ce0e

that by a (un)lucky coincidence did not prevent 8fd654ce0e
from working properly
bb-10.5-MDEV-15053-2
Sergei Golubchik 6 years ago
parent
commit
b66745e9b9
  1. 4
      cmake/mysql_add_executable.cmake

4
cmake/mysql_add_executable.cmake

@ -80,12 +80,12 @@ FUNCTION (MYSQL_ADD_EXECUTABLE)
RETURN()
ENDIF()
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)
ENDIF()
MYSQL_INSTALL_TARGETS(${target} DESTINATION ${ARG_DESTINATION} COMPONENT ${COMP})
IF (reset_strip)
INSTALL(CODE "SET(CMAKE_INSTALL_DO_STRIP 0)" ${COMP})
INSTALL(CODE "SET(CMAKE_INSTALL_DO_STRIP 0)" COMPONENT ${COMP})
ENDIF()
ENDIF()

Loading…
Cancel
Save