Commit 23e7307d authored by Patrik Huber's avatar Patrik Huber

Change all eos include directories to target_include_directories

parent de2cab6a
...@@ -103,13 +103,13 @@ add_library(eos INTERFACE) ...@@ -103,13 +103,13 @@ add_library(eos INTERFACE)
target_compile_features(eos INTERFACE ${EOS_CXX_COMPILE_FEATURES}) target_compile_features(eos INTERFACE ${EOS_CXX_COMPILE_FEATURES})
# Add header includes: # Add header includes:
target_include_directories(eos INTERFACE "include") target_include_directories(eos INTERFACE "include")
include_directories(${CEREAL_INCLUDE_DIR}) target_include_directories(eos INTERFACE ${CEREAL_INCLUDE_DIR})
include_directories(${Boost_INCLUDE_DIRS}) target_include_directories(eos INTERFACE ${Boost_INCLUDE_DIRS})
include_directories(${OpenCV_INCLUDE_DIRS}) target_include_directories(eos INTERFACE ${OpenCV_INCLUDE_DIRS})
include_directories(${EIGEN3_INCLUDE_DIR}) target_include_directories(eos INTERFACE ${EIGEN3_INCLUDE_DIR})
include_directories(${glm_INCLUDE_DIR}) target_include_directories(eos INTERFACE ${glm_INCLUDE_DIR})
include_directories(${nanoflann_INCLUDE_DIR}) target_include_directories(eos INTERFACE ${nanoflann_INCLUDE_DIR})
include_directories(${eigen3_nnls_INCLUDE_DIR}) target_include_directories(eos INTERFACE ${eigen3_nnls_INCLUDE_DIR})
# Custom target for the library, to make the headers show up in IDEs: # Custom target for the library, to make the headers show up in IDEs:
#add_custom_target(eos SOURCES ${HEADERS}) # name it eos-headers? #add_custom_target(eos SOURCES ${HEADERS}) # name it eos-headers?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment