From a2713d85eab58eff28da416942e0b0c73edd4fcb Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Sat, 28 Aug 2021 22:06:41 +1200 Subject: proj.pc.in: add -lm -ldl in Libs.private (#2825) --- cmake/ProjConfig.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake/ProjConfig.cmake') diff --git a/cmake/ProjConfig.cmake b/cmake/ProjConfig.cmake index d43a2767..a53c3af1 100644 --- a/cmake/ProjConfig.cmake +++ b/cmake/ProjConfig.cmake @@ -15,6 +15,7 @@ check_function_exists(localeconv HAVE_LOCALECONV) check_function_exists(strerror HAVE_STRERROR) if(NOT WIN32) check_library_exists(dl dladdr "" HAVE_LIBDL) + check_library_exists(m exp "" HAVE_LIBM) endif() set(PACKAGE "proj") -- cgit v1.2.3