mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 18:49:11 +08:00
fadc111605
* [tiff] Update to 4.5.0rc1 * Cleanup [skip actions] * Update to 4.5.0
14 lines
492 B
Diff
14 lines
492 B
Diff
diff --git a/cmake/FindCMath.cmake b/cmake/FindCMath.cmake
|
|
index ad92218..dd42aba 100644
|
|
--- a/cmake/FindCMath.cmake
|
|
+++ b/cmake/FindCMath.cmake
|
|
@@ -31,7 +31,7 @@ include(CheckSymbolExists)
|
|
include(CheckLibraryExists)
|
|
|
|
check_symbol_exists(pow "math.h" CMath_HAVE_LIBC_POW)
|
|
-find_library(CMath_LIBRARY NAMES m)
|
|
+find_library(CMath_LIBRARY NAMES m PATHS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES})
|
|
|
|
if(NOT CMath_HAVE_LIBC_POW)
|
|
set(CMAKE_REQUIRED_LIBRARIES_SAVE ${CMAKE_REQUIRED_LIBRARIES})
|