-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
6 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
if(DEFINED ENV{VCPKG_ROOT}) | ||
set(VCPKG_CMAKE_TOOLCHAIN $ENV{VCPKG_ROOT}) | ||
cmake_path(APPEND VCPKG_CMAKE_TOOLCHAIN scripts buildsystems vcpkg.cmake) | ||
else() | ||
# Attempt to find vcpkg from standard locations | ||
find_file(VCPKG_CMAKE_TOOLCHAIN | ||
NAMES scripts/buildsystems/vcpkg.cmake | ||
PATHS C:/src/vcpkg C:/dev/vcpkg C:/vcpkg | ||
NO_DEFAULT_PATH) | ||
endif() | ||
if(EXISTS "${VCPKG_CMAKE_TOOLCHAIN}") | ||
message(STATUS "Using VCPKG toolchain: ${VCPKG_CMAKE_TOOLCHAIN}") | ||
set(CMAKE_TOOLCHAIN_FILE "${VCPKG_CMAKE_TOOLCHAIN}" CACHE STRING "VCPKG toolchain file") | ||
else() | ||
message(FATAL_ERROR "Could NOT find VCPKG") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"dependencies": [ "curl" ] | ||
} |