D2078 Windows : add option to prevent find_package from picking up the wrong librarie...
[blender.git] / CMakeLists.txt
index 170537b7dfa3d7587ec152ac5c2f38174705ccb0..d7276f4417a91e9fe1b9162e956b97814fd3839d 100644 (file)
@@ -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)
 
 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()
 
 # avoid using again
 option_defaults_clear()