From b29860a93c9559ba16620716a4fef64b98eb0d63 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 1 Dec 2009 13:28:15 +0000 Subject: [PATCH] Re-enable "Disable serial autoprobe" option with CMake. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f8448ce..2d92645 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)