Skip to content

Commit 3b4e2b9

Browse files
authored
Update matplot++-config.cmake.in
Locate `std::filesystem` also when Matplotlib++ is used as an installed package. See also #133
1 parent 87ff572 commit 3b4e2b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matplot++-config.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ if(NOT ${MATPLOT_BUILT_SHARED})
66

77
list(APPEND CMAKE_MODULE_PATH ${MATPLOT_CONFIG_INSTALL_DIR})
88
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
9-
find_dependency(Filesystem)
9+
find_dependency(Filesystem COMPONENTS Experimental Final)
1010
list(POP_BACK CMAKE_MODULE_PATH)
1111
endif()
1212

1313
include("${CMAKE_CURRENT_LIST_DIR}/Matplot++Targets.cmake")
14-
check_required_components(Matplot++)
14+
check_required_components(Matplot++)

0 commit comments

Comments
 (0)