Merge pull request #123 from stoffu/mac-pcsc

build: pcsclite is not available for OSX
This commit is contained in:
moneroexamples 2018-06-08 11:47:18 +08:00 committed by GitHub
commit fd4f57282a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

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