CMake: Cleanup, unset temporary variables

Was happening in macros, polluting the namespace.

No functional changes, just making things cleaner.
This commit is contained in:
Sergey Sharybin 2019-08-28 16:29:02 +02:00
parent 7f2b4c871e
commit 2c68d50421
1 changed files with 2 additions and 0 deletions

View File

@ -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()