minor fixes

This commit is contained in:
ohyzha
2024-08-03 15:41:59 +03:00
parent 837861d6f2
commit dcf6e72f96
9 changed files with 14 additions and 16 deletions

View File

@@ -34,12 +34,12 @@ endif()
if (WIN32)
set(TRIPLET x64-windows-static-md-release CACHE INTERNAL "triplet")
elseif(UNIX)
elseif(UNIX AND NOT APPLE)
set(TRIPLET x64-linux CACHE INTERNAL "triplet")
elseif(APPLE)
set(TRIPLET x64-osx CACHE INTERNAL "triplet")
else()
message(FATAL_ERROR "Unknown OS, can't build msdfgen")
set(TRIPLET arm64-osx CACHE INTERNAL "triplet")
elseif(IOS)
set(TRIPLET arm64-ios CACHE INTERNAL "triplet")
endif()
execute_process(COMMAND ${VCPKG_EXECUTABLE} install freetype:${TRIPLET} libpng:${TRIPLET})
@@ -92,4 +92,3 @@ function(LinkMsdf TARGET)
endif()
endforeach()
endfunction()