From a0ec62eb02dfbaf5aaba29fefa6b69e0e25556db Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Tue, 30 Jul 2024 13:47:33 +0200 Subject: [PATCH] find-external: remove suffix from library names to fix build for macos .dylib --- find-external/CDD/FindCDD.cmake | 2 +- find-external/CLP/FindCLP.cmake | 2 +- find-external/CoinUtils/FindCoinUtils.cmake | 2 +- find-external/glpk/Findglpk.cmake | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/find-external/CDD/FindCDD.cmake b/find-external/CDD/FindCDD.cmake index 688720f64..7ab2376b8 100644 --- a/find-external/CDD/FindCDD.cmake +++ b/find-external/CDD/FindCDD.cmake @@ -29,7 +29,7 @@ find_path( PATH_SUFFIXES include/cdd include/cddlib) find_library( CDD_LIBRARY - NAMES libcdd.so + NAMES libcdd PATHS ${CDD_PREFIX}) set(CDD_LIBRARIES ${CDD_LIBRARY}) diff --git a/find-external/CLP/FindCLP.cmake b/find-external/CLP/FindCLP.cmake index 02d5f1a2e..732cd3d5c 100644 --- a/find-external/CLP/FindCLP.cmake +++ b/find-external/CLP/FindCLP.cmake @@ -28,7 +28,7 @@ find_path( PATHS ${CLP_PREFIX}) find_library( CLP_LIBRARY - NAMES libclp.so libClp.so + NAMES libclp libClp PATHS ${CLP_PREFIX}) set(CLP_LIBRARIES ${CLP_LIBRARY}) diff --git a/find-external/CoinUtils/FindCoinUtils.cmake b/find-external/CoinUtils/FindCoinUtils.cmake index c9a2d5111..e5b25ef2c 100644 --- a/find-external/CoinUtils/FindCoinUtils.cmake +++ b/find-external/CoinUtils/FindCoinUtils.cmake @@ -29,7 +29,7 @@ find_path( PATHS ${CoinUtils_PREFIX}) find_library( CoinUtils_LIBRARY - NAMES libCoinUtils.so + NAMES libCoinUtils PATHS ${CoinUtils_PREFIX}) set(CoinUtils_LIBRARIES ${CoinUtils_LIBRARY}) diff --git a/find-external/glpk/Findglpk.cmake b/find-external/glpk/Findglpk.cmake index 4a793428c..952d02922 100644 --- a/find-external/glpk/Findglpk.cmake +++ b/find-external/glpk/Findglpk.cmake @@ -28,7 +28,7 @@ find_path( PATHS ${glpk_PREFIX}) find_library( glpk_LIBRARY - NAMES libglpk.so + NAMES libglpk PATHS ${glpk_PREFIX} PATH_SUFFIXES include/glpk)