File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2+ index ef0c3ae..624930c 100644
3+ --- a/CMakeLists.txt
4+ +++ b/CMakeLists.txt
5+ @@ -1189,10 +1189,9 @@ endif()
6+
7+ # Link libm where it exists as a separate library (Linux, FreeBSD, etc.).
8+ # macOS includes math in libSystem; Windows has no libm.
9+ - find_library(LIBM m)
10+ - if(LIBM)
11+ - target_link_libraries(fyaml PUBLIC ${LIBM})
12+ - target_link_libraries(fyaml_static PUBLIC ${LIBM})
13+ + if(UNIX AND NOT ANDROID AND NOT APPLE)
14+ + target_link_libraries(fyaml PUBLIC m)
15+ + target_link_libraries(fyaml_static PUBLIC m)
16+ endif()
17+
18+ # Add libclang support if available
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ vcpkg_extract_source_archive(
1818 "pthread.diff" #https://github.com/pantoniou/libfyaml/pull/287
1919 "yield.diff" #https://github.com/pantoniou/libfyaml/pull/288
2020 "${32BIT_PATCH} "
21+ "math.diff"
2122)
2223
2324vcpkg_cmake_configure (
Original file line number Diff line number Diff line change 11{
22 "versions" : [
33 {
4- "git-tree" : " 4db5deda83f1b1175d9cf3e76cafd71df1cfb434 " ,
4+ "git-tree" : " fc239aeb01262e40939b8e3341315c66cfba96b5 " ,
55 "version" : " 0.9.6" ,
66 "port-version" : 0
77 }
You can’t perform that action at this time.
0 commit comments