cmake: fixed pcsc requirement for acr122_pcsc
This commit is contained in:
parent
959a992a81
commit
8e7a8e1b61
1 changed files with 2 additions and 2 deletions
|
@ -141,9 +141,9 @@ IF(NOT WIN32)
|
||||||
IF(LIBNFC_DRIVER_PCSC)
|
IF(LIBNFC_DRIVER_PCSC)
|
||||||
SET(PKG_REQ ${PKG_REQ} "libpcsclite")
|
SET(PKG_REQ ${PKG_REQ} "libpcsclite")
|
||||||
ENDIF(LIBNFC_DRIVER_ACR122)
|
ENDIF(LIBNFC_DRIVER_ACR122)
|
||||||
IF(LIBNFC_DRIVER_ACR122)
|
IF(LIBNFC_DRIVER_ACR122_PCSC)
|
||||||
SET(PKG_REQ ${PKG_REQ} "libpcsclite")
|
SET(PKG_REQ ${PKG_REQ} "libpcsclite")
|
||||||
ENDIF(LIBNFC_DRIVER_ACR122)
|
ENDIF(LIBNFC_DRIVER_ACR122_PCSC)
|
||||||
# CMake lists are separated by a semi colon, replace with colon
|
# CMake lists are separated by a semi colon, replace with colon
|
||||||
STRING(REPLACE ";" "," PKG_CONFIG_REQUIRES "${PKG_REQ}")
|
STRING(REPLACE ";" "," PKG_CONFIG_REQUIRES "${PKG_REQ}")
|
||||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libnfc.pc.in ${CMAKE_CURRENT_BINARY_DIR}/libnfc.pc @ONLY)
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libnfc.pc.in ${CMAKE_CURRENT_BINARY_DIR}/libnfc.pc @ONLY)
|
||||||
|
|
Loading…
Reference in a new issue