File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -203,8 +203,16 @@ option(_NBL_COMPILE_WITH_OPEN_EXR_ "Build with OpenEXR library" ON)
203
203
# but it's core
204
204
205
205
# for new build system it doesn't matter since we no more fetch content stuff, temporary to fix current master CMake clones
206
- set (OPENEXR_DEFLATE_REPO "git@github.com:ebiggers/libdeflate.git" CACHE STRING "Repo path for libdeflate source" FORCE )
207
- set (OPENEXR_IMATH_REPO "git@github.com:AcademySoftwareFoundation/Imath.git" CACHE STRING "Repo for auto-build of Imath" FORCE )
206
+
207
+ option (NBL_OPENEXR_FORCE_SSH "" ON )
208
+
209
+ if (NBL_OPENEXR_FORCE_SSH )
210
+ set (OPENEXR_DEFLATE_REPO "git@github.com:ebiggers/libdeflate.git" CACHE STRING "Repo path for libdeflate source" FORCE )
211
+ set (OPENEXR_IMATH_REPO "git@github.com:AcademySoftwareFoundation/Imath.git" CACHE STRING "Repo for auto-build of Imath" FORCE )
212
+ else ()
213
+ set (OPENEXR_DEFLATE_REPO "https://github.com/ebiggers/libdeflate.git" CACHE STRING "Repo path for libdeflate source" FORCE )
214
+ set (OPENEXR_IMATH_REPO "https://github.com/AcademySoftwareFoundation/Imath.git" CACHE STRING "Repo for auto-build of Imath" FORCE )
215
+ endif ()
208
216
209
217
set (_OLD_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS} )
210
218
set (_OLD_BUILD_STATIC_LIBS ${BUILD_STATIC_LIBS} )
You can’t perform that action at this time.
0 commit comments