minor fixes
This commit is contained in:
9
3rdParty/msdf/CMakeLists.txt
vendored
9
3rdParty/msdf/CMakeLists.txt
vendored
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user