summaryrefslogtreecommitdiff
path: root/Modules/FindGnuplot.cmake
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2021-04-28 14:18:05 +0300
committerBrad King <brad.king@kitware.com>2021-04-28 10:41:17 -0400
commit990b370401a26e43ddc3371ec056c6a8e2adfaec (patch)
tree95f52387ca611b804bc4efe1f5d9a50552dde3c5 /Modules/FindGnuplot.cmake
parent91788612450ca2d2fecda2c0f6ca9a323d0a8617 (diff)
downloadcmake-990b370401a26e43ddc3371ec056c6a8e2adfaec.tar.gz
FindMsys: Add a module to find MSYS and some bundled packages
Diffstat (limited to 'Modules/FindGnuplot.cmake')
-rw-r--r--Modules/FindGnuplot.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindGnuplot.cmake b/Modules/FindGnuplot.cmake
index ca2467d687..b4ea6ab3f3 100644
--- a/Modules/FindGnuplot.cmake
+++ b/Modules/FindGnuplot.cmake
@@ -23,6 +23,7 @@ GNUPLOT_VERSION_STRING will not work for old versions like 3.7.1.
#]=======================================================================]
include(${CMAKE_CURRENT_LIST_DIR}/FindCygwin.cmake)
+include(${CMAKE_CURRENT_LIST_DIR}/FindMsys.cmake)
find_program(GNUPLOT_EXECUTABLE
NAMES
@@ -31,6 +32,7 @@ find_program(GNUPLOT_EXECUTABLE
wgnupl32
PATHS
${CYGWIN_INSTALL_PATH}/bin
+ ${MSYS_INSTALL_PATH}/usr/bin
)
if (GNUPLOT_EXECUTABLE)