summaryrefslogtreecommitdiff
path: root/storage/tokudb/ft-index/toku_include/CMakeLists.txt
blob: 6ae304f8df35569e7656553e8fd9ede2e5029579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 ()