Skip to content

Commit d11db46

Browse files
authored
fix CMAKE_MODULE_PATH for libnfc as a submodule
This fixes nfc-tools#496
1 parent a9af192 commit d11db46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ADD_DEFINITIONS("-DHAVE_CONFIG_H")
3232
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include)
3333

3434
# make it easy to locate CMake modules for finding libraries
35-
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")
35+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/modules/")
3636

3737
# Options
3838
option (LIBNFC_LOG "Enable log facility (errors, warning, info and debug messages)" ON)

0 commit comments

Comments
 (0)