From 8e7a8e1b61c72a19e5d0d70ef43a16919bbdf3ca Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Tue, 3 Sep 2019 15:51:38 +0200 Subject: [PATCH] cmake: fixed pcsc requirement for acr122_pcsc --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03097ea..5d8b5a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,9 +141,9 @@ IF(NOT WIN32) IF(LIBNFC_DRIVER_PCSC) SET(PKG_REQ ${PKG_REQ} "libpcsclite") ENDIF(LIBNFC_DRIVER_ACR122) - IF(LIBNFC_DRIVER_ACR122) + IF(LIBNFC_DRIVER_ACR122_PCSC) 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 STRING(REPLACE ";" "," PKG_CONFIG_REQUIRES "${PKG_REQ}") CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libnfc.pc.in ${CMAKE_CURRENT_BINARY_DIR}/libnfc.pc @ONLY)