Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-08-28 17:29:02 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-09-02 10:42:44 +0300
commit2c68d50421134d0522e7f5ee24c6ecaeceec6d75 (patch)
tree452d25d5ef182e7d583d6b13df7c489ef4564ad2 /build_files
parent7f2b4c871ea9d93ad50e32326c9c1292d8104e2f (diff)
CMake: Cleanup, unset temporary variables
Was happening in macros, polluting the namespace. No functional changes, just making things cleaner.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/Modules/GTestTesting.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/cmake/Modules/GTestTesting.cmake b/build_files/cmake/Modules/GTestTesting.cmake
index 47edbdf37a6..0327a369f0a 100644
--- a/build_files/cmake/Modules/GTestTesting.cmake
+++ b/build_files/cmake/Modules/GTestTesting.cmake
@@ -55,6 +55,8 @@ macro(BLENDER_SRC_GTEST_EX NAME SRC EXTRA_LIBS DO_ADD_TEST)
# that we can't fix.
set_tests_properties(${NAME}_test PROPERTIES ENVIRONMENT LSAN_OPTIONS=exitcode=0)
endif()
+ unset(TEST_INC)
+ unset(TEST_INC_SYS)
endif()
endmacro()