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:
commit
980513f4d1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue