This is an initial pass, simply moving the existing logic as-is. Future PR's will attempt to refactor and improve the cmake stuff.
14 lines
537 B
CMake
14 lines
537 B
CMake
macro(SetupMatplotlib)
|
|
# ------------------------------ Matplotlib ------------------------------
|
|
|
|
find_package(Matplotlib)
|
|
if (MATPLOTLIB_FOUND)
|
|
message(STATUS "-- matplotlib-${MATPLOTLIB_VERSION} has been found.")
|
|
else(MATPLOTLIB_FOUND)
|
|
message("=====================================================\n"
|
|
"matplotlib not found, Plot module won't be available.\n"
|
|
"=====================================================\n")
|
|
endif(MATPLOTLIB_FOUND)
|
|
|
|
endmacro(SetupMatplotlib)
|