Re-enable "Disable serial autoprobe" option with CMake.
This commit is contained in:
parent
dedfbb0ec8
commit
b29860a93c
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ IF(NOT DEFINED SHARE_INSTALL_PREFIX)
|
|||
SET(SHARE_INSTALL_PREFIX share)
|
||||
ENDIF(NOT DEFINED SHARE_INSTALL_PREFIX)
|
||||
|
||||
IF(LIBNFC_DISABLE_SERIAL_AUTOPROBE)
|
||||
ADD_DEFINITIONS("-DDISABLE_SERIAL_AUTOPROBE")
|
||||
ENDIF(LIBNFC_DISABLE_SERIAL_AUTOPROBE)
|
||||
|
||||
IF(LIBNFC_DEBUG_OUTPUT)
|
||||
ADD_DEFINITIONS(-DDEBUG -g3)
|
||||
ENDIF(LIBNFC_DEBUG_OUTPUT)
|
||||
|
|
Loading…
Reference in a new issue