Skip to content

Commit

Permalink
Merge pull request #83 from BlaiseMuhirwa/include-paths
Browse files Browse the repository at this point in the history
Fix include paths
  • Loading branch information
vihan-lakshman authored Jan 17, 2025
2 parents 06ae33e + 5e5d36e commit 0e51c05
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ message(STATUS "CMake CXX Compiler: ${CMAKE_CXX_COMPILER}")

# Add the parent directory to the include path This allows us to write #include
# <flatnav/...> instead of #include "../flatnav/..."
include_directories(${CMAKE_SOURCE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/include)

# Include cereal
include_directories(${CMAKE_SOURCE_DIR}/external/cereal/include/)
Expand Down Expand Up @@ -111,6 +111,5 @@ endif()
if(BUILD_TESTS)
message(STATUS "Building flatnav + quantization unit tests using gtest")
include(cmake/FindGoogleTest.cmake)
add_subdirectory(${PROJECT_SOURCE_DIR}/flatnav/tests)
# add_subdirectory(${PROJECT_SOURCE_DIR}/quantization/tests)
add_subdirectory(${PROJECT_SOURCE_DIR}/include/flatnav/tests)
endif()

0 comments on commit 0e51c05

Please # to comment.