From 6c458fb5d3d9b05583e555ed465004cb523bdad7 Mon Sep 17 00:00:00 2001 From: Benoit Lelandais <41573600+lelandaisb@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:52:12 +0200 Subject: [PATCH] Update Findglpk.cmake to find HINTS x86_64-linux-gnu directory --- CMakeModules/Findglpk.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeModules/Findglpk.cmake b/CMakeModules/Findglpk.cmake index 40d4e779b..6a17571f6 100644 --- a/CMakeModules/Findglpk.cmake +++ b/CMakeModules/Findglpk.cmake @@ -4,7 +4,7 @@ if (GLPK_INC AND GLPK_LIB) else() if(NOT WIN32) find_path (GLPK_INC NAMES glpk.h PATH_SUFFIXES include) - find_path (GLPK_LIB NAMES libglpk.so libglpk.dylib PATH_SUFFIXES lib) + find_path (GLPK_LIB NAMES libglpk.so libglpk.dylib PATH_SUFFIXES lib HINTS /usr/lib/x86_64-linux-gnu) if (GLPK_INC AND GLPK_LIB) message (STATUS "==>GLPK FOUND : GLPK_INC=${GLPK_INC} GLPK_LIB=${GLPK_LIB}") @@ -22,4 +22,4 @@ else() #set_target_properties (tetgen::tetgen PROPERTIES # INTERFACE_INCLUDE_DIRECTORIES ${GLPK_INC} # IMPORTED_LOCATION ${TETGEN_LIBRARY}) -endif (GLPK_INC AND GLPK_LIB) \ No newline at end of file +endif (GLPK_INC AND GLPK_LIB)