mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
parent
299f581dc3
commit
e96e74f08b
@ -25,7 +25,7 @@ endfunction()
|
||||
|
||||
if(NOT DEFINED VCPKG_MANIFEST_DIR)
|
||||
if(EXISTS "${CMAKE_SOURCE_DIR}/vcpkg.json")
|
||||
set(_VCPKG_MANIFEST_DIR "${CMAKE_SOURCE_DIR}/vcpkg.json")
|
||||
set(_VCPKG_MANIFEST_DIR "${CMAKE_SOURCE_DIR}")
|
||||
endif()
|
||||
else()
|
||||
set(_VCPKG_MANIFEST_DIR ${VCPKG_MANIFEST_DIR})
|
||||
|
Loading…
x
Reference in New Issue
Block a user