build: pcsclite is not available for OSX

This commit is contained in:
stoffu 2018-06-08 12:24:51 +09:00
parent 402e3cfbb5
commit 5a06e767cc
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012
1 changed files with 1 additions and 2 deletions

View File

@ -119,7 +119,6 @@ set(LIBRARIES
checkpoints
version
epee
pcsclite
${Boost_LIBRARIES}
pthread
unbound
@ -130,7 +129,7 @@ set(LIBRARIES
if(APPLE)
set(LIBRARIES ${LIBRARIES} "-framework IOKit -framework PCSC")
else()
set(LIBRARIES ${LIBRARIES} atomic)
set(LIBRARIES ${LIBRARIES} atomic pcsclite)
endif()
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT WIN32)