Skip to content
Snippets Groups Projects
Commit 41b6377b authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Merge branch 'fix_install' into 'master'

Fix install

Fix a few cmake bug, mainly missing third party `spdlog` install rule.

See merge request !102
parents 0ec72482 38812378
No related branches found
No related tags found
1 merge request!102Fix install
......@@ -113,6 +113,7 @@ INCLUDE_DIRECTORIES(.)
# include spdlog (logging) third_party
INCLUDE_DIRECTORIES(../third_party/spdlog/include)
set(SPDLOG_INCLUDE_DIRS "../third_party/spdlog/include/")
INCLUDE_DIRECTORIES(${EIGEN_INCLUDE_DIRS})
......@@ -175,6 +176,7 @@ SET(HDRS_BASE
rotations.h
sensor_base.h
sensor_factory.h
singleton.h
state_block.h
state_homogeneous_3D.h
state_quaternion.h
......@@ -473,6 +475,8 @@ DESTINATION include/iri-algorithms/wolf/internal)
INSTALL(FILES "${CMAKE_BINARY_DIR}/wolfConfig.cmake" DESTINATION "lib/cmake/${PROJECT_NAME}")
INSTALL(DIRECTORY ${SPDLOG_INCLUDE_DIRS} DESTINATION "include/iri-algorithms/")
export(PACKAGE ${PROJECT_NAME})
IF(BUILD_EXAMPLES)
......
......@@ -145,9 +145,11 @@ IF(OpenCV_FOUND)
TARGET_LINK_LIBRARIES(test_ROI_ORB ${PROJECT_NAME})
ENDIF(OpenCV_FOUND)
IF(Ceres_FOUND)
# Simple AHP test
ADD_EXECUTABLE(test_simple_AHP test_simple_AHP.cpp)
TARGET_LINK_LIBRARIES(test_simple_AHP ${PROJECT_NAME})
ENDIF(Ceres_FOUND)
# Processor Tracker Feature test
ADD_EXECUTABLE(test_processor_tracker_feature test_processor_tracker_feature.cpp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment