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:
authorlazydodo <github@lazydodo.com>2016-08-23 17:47:23 +0300
committerlazydodo <github@lazydodo.com>2016-08-23 17:48:27 +0300
commit7dc328e8a1cea0f1ea0b8848a38ce7521401ca8b (patch)
treed3f1c61a560308f6434dc7f629a46e69d97f2d90 /CMakeLists.txt
parent36b80b185f2c01e72ba251b852b517b02c806c73 (diff)
D2078 Windows : add option to prevent find_package from picking up the wrong libraries and use hardcoded paths instead.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 170537b7dfa..d7276f4417a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -508,6 +508,10 @@ mark_as_advanced(WITH_CXX11)
option(WITH_LEGACY_DEPSGRAPH "Build Blender with legacy dependency graph" ON)
mark_as_advanced(WITH_LEGACY_DEPSGRAPH)
+# Use hardcoded paths or find_package to find externals
+option(WITH_WINDOWS_FIND_MODULES "Use find_package to locate libraries" OFF)
+mark_as_advanced(WITH_WINDOWS_FIND_MODULES)
+
# avoid using again
option_defaults_clear()