Skip to content

Commit

Permalink
Enable cmake include definition
Browse files Browse the repository at this point in the history
  • Loading branch information
yoneken authored and lava committed Apr 22, 2021
1 parent 3dda526 commit ef0383f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/matplotlib_cppConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ if(NOT TARGET matplotlib_cpp::matplotlib_cpp)
find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
find_package(Python3 COMPONENTS NumPy)
include("${matplotlib_cpp_CMAKE_DIR}/matplotlib_cppTargets.cmake")

get_target_property(matplotlib_cpp_INCLUDE_DIRS matplotlib_cpp::matplotlib_cpp INTERFACE_INCLUDE_DIRECTORIES)

endif()

0 comments on commit ef0383f

Please sign in to comment.