Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanpo committed Jul 8, 2024
1 parent fb47ff5 commit 9e5beba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ cmake_policy(SET CMP0074 NEW)
include(FetchContent)

# check if VCPKG_ROOT is defined, which should point to an existing installation
message("Test message at the beginning")
if(DEFINED ENV{VCPKG_ROOT})
# Autodetect vcpkg toolchain
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
string(REPLACE "\\" "/" CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake")
endif()
message("VCPKG root defined")
else()
# VCPKG_ROOT not defined, get it using FetchContent

Expand Down

0 comments on commit 9e5beba

Please sign in to comment.