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:
authorSebastian Parborg <darkdefende@gmail.com>2022-02-17 20:42:06 +0300
committerSebastian Parborg <darkdefende@gmail.com>2022-02-17 20:42:06 +0300
commita04300c436d77bf47b94d033c1d832d86425945c (patch)
tree636734faf3fcc16c200f635ff76dc18c82967a48 /build_files/cmake/Modules/FindFFmpeg.cmake
parent9281ba5812c2f6d155649aae6142b06bf00e84f7 (diff)
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
Diffstat (limited to 'build_files/cmake/Modules/FindFFmpeg.cmake')
-rw-r--r--build_files/cmake/Modules/FindFFmpeg.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_files/cmake/Modules/FindFFmpeg.cmake b/build_files/cmake/Modules/FindFFmpeg.cmake
index 5f506a33e13..8d939f3ad85 100644
--- a/build_files/cmake/Modules/FindFFmpeg.cmake
+++ b/build_files/cmake/Modules/FindFFmpeg.cmake
@@ -82,4 +82,6 @@ mark_as_advanced(
unset(_ffmpeg_SEARCH_DIRS)
unset(_ffmpeg_LIBRARIES)
-unset(_ffmpeg_INCLUDE_DIR)
+# In cmake version 3.21 and up, we can instead use the NO_CACHE option for
+# find_path so we don't need to clear it from the cache here.
+unset(_ffmpeg_INCLUDE_DIR CACHE)