mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
MDEV-6562 MDEV-6410 breaks WITHOUT_SERVER build
merge the fix
This commit is contained in:
commit
ca35033079
1 changed files with 4 additions and 1 deletions
|
@ -466,7 +466,10 @@ ENDIF()
|
|||
ADD_SUBDIRECTORY(packaging/solaris)
|
||||
|
||||
IF(NOT CMAKE_CROSSCOMPILING)
|
||||
SET(EXPORTED comp_err comp_sql factorial gen_lex_hash)
|
||||
SET(EXPORTED comp_err comp_sql factorial)
|
||||
IF(NOT WITHOUT_SERVER)
|
||||
SET(EXPORTED ${EXPORTED} gen_lex_hash)
|
||||
ENDIF()
|
||||
# minimal target to build only binaries for export
|
||||
ADD_CUSTOM_TARGET(import_executables DEPENDS ${EXPORTED})
|
||||
EXPORT(TARGETS ${EXPORTED} FILE ${CMAKE_BINARY_DIR}/import_executables.cmake)
|
||||
|
|
Loading…
Reference in a new issue