ClickHouse/contrib/incbin-cmake/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
510 B
CMake
Raw Permalink Normal View History

2023-07-23 02:56:47 +00:00
set(LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/incbin")
add_library(_incbin INTERFACE)
target_include_directories(_incbin SYSTEM INTERFACE ${LIBRARY_DIR})
add_library(ch_contrib::incbin ALIAS _incbin)
2023-07-23 22:51:20 +00:00
# Warning "incbin is incompatible with bitcode. Using the library will break upload to App Store if you have bitcode enabled.
# Add `#define INCBIN_SILENCE_BITCODE_WARNING` before including this header to silence this warning."
2023-07-23 22:53:11 +00:00
target_compile_definitions(_incbin INTERFACE INCBIN_SILENCE_BITCODE_WARNING)