Skip to content

Commit

Permalink
Merge pull request #2 from geiseri/patch-1
Browse files Browse the repository at this point in the history
Ignore musl on MacOS
  • Loading branch information
bitmeal authored Dec 10, 2024
2 parents 5fa67e7 + 43498f7 commit bd73d80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vcpkg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,8 @@ endfunction()

# sets VCPKG_PLATFORM_MUSL_LIBC(ON|OFF)
function(vcpkg_get_set_musl_libc)
if(WIN32)
# is windows
if(WIN32 OR APPLE)
# is windows or mac
set(VCPKG_PLATFORM_MUSL_LIBC OFF)
else()
execute_process(COMMAND getconf GNU_LIBC_VERSION RESULT_VARIABLE VCPKG_PLATFORM_GLIBC)
Expand Down Expand Up @@ -608,4 +608,4 @@ endfunction()
# get vcpkg and configure toolchain
if(NOT VCPKG_NO_INIT)
vcpkg_init()
endif()
endif()

0 comments on commit bd73d80

Please sign in to comment.