Skip to content

Commit 3910769

Browse files
committed
Put local include dir at the beginning of include path, so that system-wide installed flann headers don't get included.
1 parent 390f3e7 commit 3910769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ if (BUILD_CUDA_LIB)
141141
endif(BUILD_CUDA_LIB)
142142

143143
#set the C/C++ include path to the "include" directory
144-
include_directories(${PROJECT_SOURCE_DIR}/src/cpp)
144+
include_directories(BEFORE ${PROJECT_SOURCE_DIR}/src/cpp)
145145

146146
# require proper c++
147147
#add_definitions( "-Wall -ansi -pedantic" )

0 commit comments

Comments
 (0)