2019-06-03 00:57:33 +00:00
|
|
|
# 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)
|
2019-06-03 00:57:33 +00:00
|
|
|
|
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)
|
2020-08-08 18:38:34 +00:00
|
|
|
target_include_directories(readpassphrase PUBLIC .)
|