From a04300c436d77bf47b94d033c1d832d86425945c Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Thu, 17 Feb 2022 18:42:06 +0100 Subject: Cleanup: Move more cmake library variables to be advanced I noticed that there were a few variables that should not be visible per default. It seems to me to simply be an oversight, so I went ahead and cleaned them up. Reviewed By: Sybren, Ray molenkamp Differential Revision: http://developer.blender.org/D14132 --- source/blender/io/collada/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source') diff --git a/source/blender/io/collada/CMakeLists.txt b/source/blender/io/collada/CMakeLists.txt index e1645083116..25c20accaa2 100644 --- a/source/blender/io/collada/CMakeLists.txt +++ b/source/blender/io/collada/CMakeLists.txt @@ -31,6 +31,10 @@ if(OPENCOLLADA_ANIMATION_CLIP) add_definitions(-DWITH_OPENCOLLADA_ANIMATION_CLIP) endif() +# In cmake version 3.21 and up, we can instead use the NO_CACHE option for +# find_file so we don't need to clear it from the cache here. +unset(OPENCOLLADA_ANIMATION_CLIP CACHE) + set(INC . ../../blenkernel -- cgit v1.2.3