diff options
Diffstat (limited to 'tools/CMakeLists.txt')
-rw-r--r-- | tools/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 274a799..4d08be9 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt | |||
@@ -20,6 +20,13 @@ else() | |||
20 | list(APPEND COMPAT_SOURCES ../openbsd-compat/readpassphrase.c) | 20 | list(APPEND COMPAT_SOURCES ../openbsd-compat/readpassphrase.c) |
21 | endif() | 21 | endif() |
22 | 22 | ||
23 | if(NOT MSVC) | ||
24 | set_source_files_properties(assert_get.c assert_verify.c base64.c bio.c | ||
25 | cred_make.c cred_verify.c credman.c fido2-assert.c fido2-cred.c | ||
26 | fido2-token.c pin.c token.c util.c PROPERTIES COMPILE_FLAGS | ||
27 | "-Wconversion -Wsign-conversion") | ||
28 | endif() | ||
29 | |||
23 | add_executable(fido2-cred | 30 | add_executable(fido2-cred |
24 | fido2-cred.c | 31 | fido2-cred.c |
25 | cred_make.c | 32 | cred_make.c |