mirror of
https://github.com/monero-project/monero.git
synced 2025-08-09 13:42:20 -04:00
Fix PCSC discovery under Windows/MSYS
Fix PCSC compilation under windows
This commit is contained in:
parent
9205bba38a
commit
e05a17f1ea
4 changed files with 23 additions and 0 deletions
|
@ -18,6 +18,9 @@ ENDIF (NOT WIN32)
|
|||
|
||||
FIND_PATH(PCSC_INCLUDE_DIR winscard.h
|
||||
HINTS
|
||||
IF (WIN32)
|
||||
${MSYS2_FOLDER}/mingw64/x86_64-w64-mingw32/include
|
||||
ENDIF (WIN32)
|
||||
/usr/include/PCSC
|
||||
${PC_PCSC_INCLUDEDIR}
|
||||
${PC_PCSC_INCLUDE_DIRS}
|
||||
|
@ -26,6 +29,9 @@ FIND_PATH(PCSC_INCLUDE_DIR winscard.h
|
|||
|
||||
FIND_LIBRARY(PCSC_LIBRARY NAMES pcsclite libpcsclite WinSCard PCSC
|
||||
HINTS
|
||||
IF (WIN32)
|
||||
${MSYS2_FOLDER}/mingw64/x86_64-w64-mingw32/lib
|
||||
ENDIF (WIN32)
|
||||
${PC_PCSC_LIBDIR}
|
||||
${PC_PCSC_LIBRARY_DIRS}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue