mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
15 lines
No EOL
410 B
CMake
15 lines
No EOL
410 B
CMake
configure_file(toku_config.h.in toku_config.h)
|
|
add_custom_target(generate_config_h DEPENDS
|
|
"${CMAKE_CURRENT_BINARY_DIR}/toku_config.h")
|
|
|
|
# detect when we are being built as a subproject
|
|
if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
|
|
install(
|
|
FILES toku_list.h toku_os.h
|
|
DESTINATION include
|
|
)
|
|
install(
|
|
FILES "${CMAKE_CURRENT_BINARY_DIR}/toku_config.h"
|
|
DESTINATION include
|
|
)
|
|
endif () |