[find_acquire.cmake] Fix ninja path for mac

This commit is contained in:
Alexander Karatarakis 2018-04-24 16:04:14 -07:00
parent f12ded7fd0
commit b5e4c4c7cf

View File

@ -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()