diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-31 19:50:14 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-04-03 13:20:58 +0200 |
commit | 5853af1966adf981f19510e06b3fb81cfb8d7b60 (patch) | |
tree | f83d0b8976149b39447fb5f792e5ce0911bc42fa /CMakeLists.txt | |
parent | 9782076fd0c80385f48e2a3c4c61c9dda06841b3 (diff) | |
download | libnitrokey-5853af1966adf981f19510e06b3fb81cfb8d7b60.tar.gz libnitrokey-5853af1966adf981f19510e06b3fb81cfb8d7b60.tar.bz2 |
Do not abort compilation on warnings in hid.c on OSX
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c379da..5fea2f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,9 @@ if (NOT MSVC) set(COMPILE_FLAGS "${COMPILE_FLAGS} -Werror") endif() SET_TARGET_PROPERTIES(${LIBNAME} ${LIBNAME}-log PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS} ) + IF(APPLE) + SET_TARGET_PROPERTIES(hidapi-libusb PROPERTIES COMPILE_FLAGS "" ) + ENDIF() endif() SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES COMPILE_DEFINITIONS "NO_LOG") |