mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-13 10:06:17 +00:00
Merge pull request #506 from nfc-tools/fix-cmake-module-path
fix CMAKE_MODULE_PATH for libnfc as a submodule
This commit is contained in:
@@ -32,7 +32,7 @@ ADD_DEFINITIONS("-DHAVE_CONFIG_H")
|
|||||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||||
|
|
||||||
# make it easy to locate CMake modules for finding libraries
|
# make it easy to locate CMake modules for finding libraries
|
||||||
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/modules/")
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
option (LIBNFC_LOG "Enable log facility (errors, warning, info and debug messages)" ON)
|
option (LIBNFC_LOG "Enable log facility (errors, warning, info and debug messages)" ON)
|
||||||
|
|||||||
Reference in New Issue
Block a user