diff --git a/SuperBuild/CMake/External_opencv.cmake b/SuperBuild/CMake/External_opencv.cmake
index d668a408756b8d3d766744851e4562afcfa6a28a..ae66793c987053680f42a7cdb7690c6cf754b2e4 100644
--- a/SuperBuild/CMake/External_opencv.cmake
+++ b/SuperBuild/CMake/External_opencv.cmake
@@ -125,5 +125,3 @@ ExternalProject_Add(OPENCV
   )
 
 SUPERBUILD_PATCH_SOURCE(OPENCV)
-
-set(_SB_OpenCV_DIR ${SB_INSTALL_PREFIX}/share/OpenCV)