Skip to content

Commit

Permalink
Merge branch 'master' of github.com:joaocandre/cpp_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocandre committed Jul 27, 2023
2 parents 6b7e834 + a451688 commit 9fa459c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cmake/cpp_utilsConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ set(cpp_utils_LIBRARIES ${PROJECT_NAME}::${PROJECT_NAME})
# Required to avoid explicitly finding dependencies on 3rd party packages
# @note cpp_utils defines an INTERFACE target, dependencies are only optionally required, even if compile flags are enabled
include(CMakeFindDependencyMacro)
if (ENABLE_PLOT_UTILS)
find_dependency(matplotlib_cpp)
endif()
if (ENABLE_XML_UTILS)
find_dependency(tinyxml2)
endif()
find_dependency(matplotlib_cpp)
find_dependency(tinyxml2)

# confirm that all required components have been found
check_required_components(cpp_utils)

0 comments on commit 9fa459c

Please sign in to comment.