Skip to content

Commit ef0383f

Browse files
yonekenlava
authored andcommitted
Enable cmake include definition
1 parent 3dda526 commit ef0383f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/matplotlib_cppConfig.cmake.in

+3
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ if(NOT TARGET matplotlib_cpp::matplotlib_cpp)
44
find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
55
find_package(Python3 COMPONENTS NumPy)
66
include("${matplotlib_cpp_CMAKE_DIR}/matplotlib_cppTargets.cmake")
7+
8+
get_target_property(matplotlib_cpp_INCLUDE_DIRS matplotlib_cpp::matplotlib_cpp INTERFACE_INCLUDE_DIRECTORIES)
9+
710
endif()

0 commit comments

Comments
 (0)