mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 21:11:17 +12:00
vcpkg/windows/mac: Avoid dependency on liblzma via tiff
This commit is contained in:
parent
075eac626b
commit
fde7230191
10 changed files with 558 additions and 0 deletions
13
dependencies/vcpkg_overlay_ports_mac/tiff/FindCMath.patch
vendored
Normal file
13
dependencies/vcpkg_overlay_ports_mac/tiff/FindCMath.patch
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
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})
|
Loading…
Add table
Add a link
Reference in a new issue