Skip to content

Commit

Permalink
Use modern cmake target for ign-math
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Oxoby <juan@vicarious.com>
  • Loading branch information
Juan Oxoby committed Sep 4, 2020
1 parent 37ced7d commit 667b50e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ sdf_add_library(${sdf_target} ${sources})
target_compile_features(${sdf_target} PUBLIC cxx_std_17)
target_link_libraries(${sdf_target}
PUBLIC
${IGNITION-MATH_LIBRARIES}
ignition-math${IGN_MATH_VER}::ignition-math${IGN_MATH_VER}
PRIVATE
${TinyXML2_LIBRARIES})

Expand All @@ -185,7 +185,6 @@ endif()

target_include_directories(${sdf_target}
PUBLIC
${IGNITION-MATH_INCLUDE_DIRS}
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}/..>
)
Expand Down

0 comments on commit 667b50e

Please sign in to comment.