cmake: Improve compiler flag detection

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit a9a99fb31f)
This commit is contained in:
Andreas Schneider
2018-08-20 15:17:09 +02:00
parent 1daa2e4609
commit f00d780c16
8 changed files with 139 additions and 1 deletions

View File

@@ -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})
#