forked from qt-creator/qt-creator
PackageManager: Search for vcpkg in project root
Change-Id: I467476e6897f36558afc76a262f631cdaa47320e Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -165,7 +165,7 @@ macro(qtc_auto_setup_vcpkg)
|
|||||||
if (EXISTS "${CMAKE_SOURCE_DIR}/vcpkg.json" AND NOT QT_CREATOR_SKIP_VCPKG_SETUP)
|
if (EXISTS "${CMAKE_SOURCE_DIR}/vcpkg.json" AND NOT QT_CREATOR_SKIP_VCPKG_SETUP)
|
||||||
option(QT_CREATOR_SKIP_VCPKG_SETUP "Skip Qt Creator's vcpkg package manager auto-setup" OFF)
|
option(QT_CREATOR_SKIP_VCPKG_SETUP "Skip Qt Creator's vcpkg package manager auto-setup" OFF)
|
||||||
|
|
||||||
find_program(vcpkg_program vcpkg)
|
find_program(vcpkg_program vcpkg ${CMAKE_SOURCE_DIR}/vcpkg)
|
||||||
if (NOT vcpkg_program)
|
if (NOT vcpkg_program)
|
||||||
message(WARNING "Qt Creator: vcpkg executable not found. "
|
message(WARNING "Qt Creator: vcpkg executable not found. "
|
||||||
"Package manager auto-setup will be skipped. "
|
"Package manager auto-setup will be skipped. "
|
||||||
|
Reference in New Issue
Block a user