1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-24 12:00:55 +00:00

Actually read variable

this path isn't taken, so didn't kill CI, but is intended to work if someone uses it.
This commit is contained in:
AnyOldName3 2026-01-02 23:34:02 +00:00
parent d4da848f4b
commit f17c8a23da

View file

@ -175,7 +175,7 @@ if (CMAKE_GENERATOR MATCHES "Visual Studio")
if (NOT IS_ABSOLUTE OPENMW_MSBUILD_COMPILER_OVERRIDE)
find_program(OPENMW_MSBUILD_COMPILER_OVERRIDE_PATH "${OPENMW_MSBUILD_COMPILER_OVERRIDE}")
else()
set(OPENMW_MSBUILD_COMPILER_OVERRIDE_PATH OPENMW_MSBUILD_COMPILER_OVERRIDE)
set(OPENMW_MSBUILD_COMPILER_OVERRIDE_PATH "${OPENMW_MSBUILD_COMPILER_OVERRIDE}")
endif()
if (DEFINED ENV{ChocolateyInstall})
# if Chocolatey's installed, it's relatively likely that the command's a shim and won't work if copied