Skip to content

Commit

Permalink
Catch dependency errors building in isolation (#70)
Browse files Browse the repository at this point in the history
* [converters] add missing ecl_exceptions dependency
* [linear_algebra] sophus has an interface ...
  • Loading branch information
stonier committed May 4, 2018
1 parent 8766a54 commit 3b29a7b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions ecl_converters/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ target_link_libraries(
ecl_concepts::ecl_concepts
ecl_config::ecl_config
ecl_errors::ecl_errors
ecl_exceptions::ecl_exceptions
ecl_mpl::ecl_mpl
ecl_type_traits::ecl_type_traits
)
Expand Down
4 changes: 3 additions & 1 deletion ecl_converters/src/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
##############################################################################

add_executable(demo_float_converters float_converters.cpp)
target_link_libraries(demo_float_converters ${PROJECT_NAME})
target_link_libraries(demo_float_converters
${PROJECT_NAME}
)
install(TARGETS demo_float_converters RUNTIME DESTINATION lib/${PROJECT_NAME})
2 changes: 1 addition & 1 deletion ecl_linear_algebra/src/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ target_include_directories(
INTERFACE
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
$<INSTALL_INTERFACE:${Sophus_INCLUDE_DIRS}>
)

target_link_libraries(
Expand All @@ -25,6 +24,7 @@ target_link_libraries(
ecl_exceptions::ecl_exceptions
ecl_formatters::ecl_formatters
ecl_math::ecl_math
Sophus::Sophus
)

set_target_properties(${PROJECT_NAME}
Expand Down

0 comments on commit 3b29a7b

Please sign in to comment.