matplotlib_cppConfig.cmake.in 440 B

12345678910
  1. get_filename_component(matplotlib_cpp_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  2. if(NOT TARGET matplotlib_cpp::matplotlib_cpp)
  3. find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
  4. find_package(Python3 COMPONENTS NumPy)
  5. include("${matplotlib_cpp_CMAKE_DIR}/matplotlib_cppTargets.cmake")
  6. get_target_property(matplotlib_cpp_INCLUDE_DIRS matplotlib_cpp::matplotlib_cpp INTERFACE_INCLUDE_DIRECTORIES)
  7. endif()