From 862acd75f740e7b1b33734dcbad215c3bb5c4c37 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Mon, 30 Sep 2019 23:45:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F=20=D0=B4=D0=BB=D1=8F=20mgl-qt5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FindMathGL.cmake | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/FindMathGL.cmake b/FindMathGL.cmake index 0483380..f630fff 100644 --- a/FindMathGL.cmake +++ b/FindMathGL.cmake @@ -8,7 +8,7 @@ find_path(MATHGL_INCLUDE_DIR NAMES mgl2/mgl.h /usr/local/include ) -find_library(MATHGL_LIBRARIES NAMES mgl mgl-qt5 +find_library(MATHGL_LIBRARIES NAMES mgl mgl PATHS ${MPFR_PREFIX}/lib /opt/local/include @@ -16,6 +16,13 @@ find_library(MATHGL_LIBRARIES NAMES mgl mgl-qt5 /usr/local/include ) +find_library(MATHGL_QT5_LIBRARIES NAMES mgl-qt5 + PATHS + ${MPFR_PREFIX}/lib + /opt/local/include + /usr/include + /usr/local/include + ) if(MATHGL_INCLUDE_DIR AND MATHGL_LIBRARIES) get_filename_component(MATHGL_LIBRARY_DIR ${MATHGL_LIBRARIES} PATH)