mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
Tests: Unset the PATH environment variable more explicitly where needed
Previously we relied on setting an environment variable to empty to unset it on Windows.
This commit is contained in:
1 parent
0181fb4cc5
commit
a878d1c490
2 files changed
+3
-3
No files matched your search
@@ -1,3 +1,3 @@
|
||||
enable_language(C)
|
||||
set(ENV{PATH} "")
|
||||
unset(ENV{PATH})
|
||||
enable_language(ASM)
|
||||
@@ -9,8 +9,8 @@ set(ENV{CMAKE_INCLUDE_PATH} )
|
||||
set(ENV{CMAKE_PREFIX_PATH} )
|
||||
set(ENV{CMAKE_FRAMEWORK_PATH} )
|
||||
|
||||
set(ENV{PATH} )
|
||||
set(ENV{INCLUDE} )
|
||||
unset(ENV{PATH})
|
||||
unset(ENV{INCLUDE})
|
||||
|
||||
set(CMAKE_SYSTEM_INCLUDE_PATH )
|
||||
set(CMAKE_SYSTEM_PREFIX_PATH )
|
||||
|
||||
Reference in new issue
Block a user