From ce9a610789a69cd219a918a0ae57a66328b2eae4 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-5ADJK1T\\justinbisceglio" Date: Fri, 19 May 2023 09:49:46 -0400 Subject: [PATCH] Restrain OpenCV cmake from finding dependencies outside dev tools environment. --- sidefx_patch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sidefx_patch b/sidefx_patch index 793b3c35b9d0..b43b75f3bb93 100755 --- a/sidefx_patch +++ b/sidefx_patch @@ -19,3 +19,6 @@ perl -pi -e 's/(namespace\s*)cv(\W|$)/\1cv_sidefx\2/g' $files perl -pi -e 's/(\W|^)cv::/\1cv_sidefx::/g' $files perl -pi -e 's/(\W|^)cv$/\1cv_sidefx/g' $files +cmake="CMakeLists.txt" +perl -pi -e 's/(^OCV_OPTION\(WITH_.*)ON$/\1OFF/g' $cmake +