Отдельная переменная для mgl-qt5
This commit is contained in:
parent
06a47f15a5
commit
862acd75f7
@ -8,7 +8,7 @@ find_path(MATHGL_INCLUDE_DIR NAMES mgl2/mgl.h
|
|||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(MATHGL_LIBRARIES NAMES mgl mgl-qt5
|
find_library(MATHGL_LIBRARIES NAMES mgl mgl
|
||||||
PATHS
|
PATHS
|
||||||
${MPFR_PREFIX}/lib
|
${MPFR_PREFIX}/lib
|
||||||
/opt/local/include
|
/opt/local/include
|
||||||
@ -16,6 +16,13 @@ find_library(MATHGL_LIBRARIES NAMES mgl mgl-qt5
|
|||||||
/usr/local/include
|
/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)
|
if(MATHGL_INCLUDE_DIR AND MATHGL_LIBRARIES)
|
||||||
get_filename_component(MATHGL_LIBRARY_DIR ${MATHGL_LIBRARIES} PATH)
|
get_filename_component(MATHGL_LIBRARY_DIR ${MATHGL_LIBRARIES} PATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user