ClickHouse/base/readpassphrase/CMakeLists.txt

9 lines
495 B
CMake
Raw Normal View History

# wget https://raw.githubusercontent.com/openssh/openssh-portable/master/openbsd-compat/readpassphrase.c
# wget https://raw.githubusercontent.com/openssh/openssh-portable/master/openbsd-compat/readpassphrase.h
2020-05-27 21:58:46 +00:00
add_library(readpassphrase readpassphrase.c)
2020-05-27 21:58:46 +00:00
set_target_properties(readpassphrase PROPERTIES LINKER_LANGUAGE C)
target_compile_options(readpassphrase PRIVATE -Wno-unused-result -Wno-reserved-id-macro -Wno-disabled-macro-expansion)
2020-08-08 18:38:34 +00:00
target_include_directories(readpassphrase PUBLIC .)