Move logic out of CMakeLists.txt

This is an initial pass, simply moving the existing logic as-is. Future
PR's will attempt to refactor and improve the cmake stuff.
This commit is contained in:
ezzieyguywuf
2019-08-26 15:45:13 -04:00
committed by wmayer
parent 5b8d93ccaf
commit aa7419b203
30 changed files with 1676 additions and 1452 deletions

View File

@@ -0,0 +1,13 @@
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)