aboutsummaryrefslogtreecommitdiff
path: root/tests/pkd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-08-20 15:17:09 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-20 18:42:03 +0200
commita9a99fb31f2b5b28a321b1637ed491ef0fdc9b2e (patch)
tree9c244d909b75750cd35d0a9ac4a36ea8a2d11003 /tests/pkd
parent26a40977427797c46f89708001b1e37cf5de534e (diff)
downloadlibssh-a9a99fb31f2b5b28a321b1637ed491ef0fdc9b2e.tar.gz
libssh-a9a99fb31f2b5b28a321b1637ed491ef0fdc9b2e.tar.xz
libssh-a9a99fb31f2b5b28a321b1637ed491ef0fdc9b2e.zip
cmake: Improve compiler flag detection
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/pkd')
-rw-r--r--tests/pkd/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pkd/CMakeLists.txt b/tests/pkd/CMakeLists.txt
index d2da5766..9abb25f3 100644
--- a/tests/pkd/CMakeLists.txt
+++ b/tests/pkd/CMakeLists.txt
@@ -29,6 +29,7 @@ set(pkd_libs
)
add_executable(pkd_hello ${pkd_hello_src})
+target_compile_options(pkd_hello PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
target_link_libraries(pkd_hello ${pkd_libs})
#