Fix ${DRIVERS_SOURCES} modifications.

This commit is contained in:
Romain Tartiere 2010-04-26 13:05:21 +00:00
parent e45a0943e8
commit 00af8b7ae1

View file

@ -24,12 +24,12 @@ ENDIF(LIBNFC_DRIVER_PN533_USB)
IF(LIBNFC_DRIVER_ARYGON)
ADD_DEFINITIONS("-DDRIVER_ARYGON_ENABLED")
SET(DRIVERS_SOURCES drivers/arygon)
SET(DRIVERS_SOURCES ${DRIVERS_SOURCES} drivers/arygon)
ENDIF(LIBNFC_DRIVER_ARYGON)
IF(LIBNFC_DRIVER_PN532_UART)
ADD_DEFINITIONS("-DDRIVER_PN532_UART_ENABLED")
SET(DRIVERS_SOURCES drivers/pn532_uart)
SET(DRIVERS_SOURCES ${DRIVERS_SOURCES} drivers/pn532_uart)
ENDIF(LIBNFC_DRIVER_PN532_UART)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/drivers)