File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ function(att_bootstrap_vcpkg)
34
34
35
35
## If Vcpkg is already installed and set in Windows Environment, stick with it and don't enforce in-house vcpkg.
36
36
## Removes the possibility of vcpkg git errors, it is faster and compiles successfully. (VS 2022 17.7.5)
37
- if (NOT "${vcpkg_default_root} " STREQUAL "$ENV{VCPKG_ROOT} " AND WIN32 )
37
+ if (NOT ( WIN32 AND "${vcpkg_default_root} " STREQUAL "$ENV{VCPKG_ROOT} " ) )
38
38
if (NOT EXISTS "${vcpkg_bootstrap_cmd} " )
39
39
find_program (GIT_CMD git REQUIRED )
40
40
execute_process (COMMAND "${GIT_CMD} " clone --filter=tree:0 "https://github.com/microsoft/vcpkg.git" "${VCPKG_ROOT} " )
@@ -43,7 +43,7 @@ function(att_bootstrap_vcpkg)
43
43
message (FATAL_ERROR "failed to clone vcpkg" )
44
44
endif ()
45
45
endif ()
46
- endif ()
46
+ endif ()
47
47
48
48
if (NOT EXISTS "${vcpkg_cmd} " )
49
49
execute_process (COMMAND "${vcpkg_bootstrap_cmd} " -disableMetrics
You can’t perform that action at this time.
0 commit comments