fix vcpkg cmake to not run when CMAKE_TOOLCHAIN_FILE is defined

This commit is contained in:
Lion Kortlepel committed 2023-12-05 14:47:02 +01:00
1 parent ea2088d5fd
commit 567a770ed9
3 files changed
+1 -1

No files matched your search

File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -1,4 +1,4 @@
if(NOT CMAKE_TOOLCHAIN_FILE)
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake)
find_package(Git)
if(Git_FOUND)