mirror of
https://github.com/token2/libfido2.git
synced 2026-03-13 11:12:49 -07:00
src/CMakeLists: drop no longer needed definitions
This commit is contained in:
committed by
pedro martelletto
parent
89ac852c12
commit
740a2fa3b5
@@ -36,19 +36,14 @@ if(FUZZ)
|
||||
endif()
|
||||
|
||||
if(HIDAPI_FOUND)
|
||||
add_definitions(-DUSE_HIDAPI)
|
||||
list(APPEND COMPAT_SOURCES hid_hidapi.c)
|
||||
elseif(WIN32)
|
||||
add_definitions(-DWIN)
|
||||
list(APPEND COMPAT_SOURCES hid_win.c)
|
||||
elseif(APPLE)
|
||||
add_definitions(-DOSX)
|
||||
list(APPEND COMPAT_SOURCES hid_osx.c)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
add_definitions(-DLINUX)
|
||||
list(APPEND COMPAT_SOURCES hid_linux.c)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
|
||||
add_definitions(-DOPENBSD)
|
||||
list(APPEND COMPAT_SOURCES hid_openbsd.c)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user