mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
build: replace PCSC with HIDAPI
This commit is contained in:
parent
77d2a98e2f
commit
f168b4e83a
3 changed files with 66 additions and 3 deletions
|
@ -126,9 +126,9 @@ set(LIBRARIES
|
|||
ssl)
|
||||
|
||||
if(APPLE)
|
||||
set(LIBRARIES ${LIBRARIES} "-framework IOKit -framework PCSC")
|
||||
set(LIBRARIES ${LIBRARIES} "-framework IOKit -framework Foundation")
|
||||
else()
|
||||
set(LIBRARIES ${LIBRARIES} atomic pcsclite)
|
||||
set(LIBRARIES ${LIBRARIES} atomic)
|
||||
endif()
|
||||
|
||||
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT WIN32)
|
||||
|
@ -146,4 +146,7 @@ else()
|
|||
set(LIBRARIES ${LIBRARIES} dl)
|
||||
endif()
|
||||
|
||||
find_package(HIDAPI)
|
||||
set(LIBRARIES ${LIBRARIES} ${HIDAPI_LIBRARIES})
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} ${LIBRARIES})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue