mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 13:54:46 +08:00
[find_acquire.cmake] Fix ninja path for mac
This commit is contained in:
parent
f12ded7fd0
commit
b5e4c4c7cf
@ -115,6 +115,8 @@ function(vcpkg_find_acquire_program VAR)
|
||||
set(SUBDIR "ninja-1.8.2")
|
||||
if(CMAKE_HOST_WIN32)
|
||||
set(PATHS "${DOWNLOADS}/tools/ninja/${SUBDIR}")
|
||||
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set(PATHS "${DOWNLOADS}/tools/${SUBDIR}-osx")
|
||||
else()
|
||||
set(PATHS "${DOWNLOADS}/tools/${SUBDIR}-linux")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user