Skip to content

Commit

Permalink
Merge pull request #82 from criptych/fix/subdir
Browse files Browse the repository at this point in the history
Fix "header not found" errors when building from subdirectory
  • Loading branch information
bukka authored May 19, 2018
2 parents 104f5a5 + 0c5c011 commit b362b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ENDIF(NOT OPENMP_FOUND OR DISABLE_PARALLEL_FANN)

ADD_SUBDIRECTORY( include )

INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/include)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
ADD_DEFINITIONS(-D_REENTRANT)
if (WIN32)
ADD_DEFINITIONS(-DFANN_DLL_EXPORTS)
Expand Down

0 comments on commit b362b4b

Please sign in to comment.