mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-11 00:56:18 +00:00
Cmake: add CONFFILES define like available in autotools build system
This commit is contained in:
committed by
Romuald Conty
parent
a7fc1bddaf
commit
0ee6dcad4b
@@ -49,6 +49,11 @@ ELSE(LIBNFC_DEBUG_MODE)
|
||||
SET(WIN32_MODE "release")
|
||||
ENDIF(LIBNFC_DEBUG_MODE)
|
||||
|
||||
SET(LIBNFC_CONFFILES_MODE ON CACHE BOOL "Enable configuration files")
|
||||
IF(LIBNFC_CONFFILES_MODE)
|
||||
ADD_DEFINITIONS(-DCONFFILES)
|
||||
ENDIF(LIBNFC_CONFFILES_MODE)
|
||||
|
||||
# Doxygen
|
||||
SET(builddir "${CMAKE_BINARY_DIR}")
|
||||
SET(top_srcdir "${CMAKE_SOURCE_DIR}")
|
||||
|
||||
Reference in New Issue
Block a user