From 4af1f31a3fb3530499826e516fdc5b5121cdf600 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Tue, 13 Jul 2021 09:15:03 +0000 Subject: [PATCH] cmake: use relative path for mode vars --- cmake/OpenCVUtils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVUtils.cmake b/cmake/OpenCVUtils.cmake index 39445150a9..da0ee3b36b 100644 --- a/cmake/OpenCVUtils.cmake +++ b/cmake/OpenCVUtils.cmake @@ -1978,4 +1978,4 @@ endif() # # Include configuration override settings # -include(cmake/vars/EnableModeVars.cmake) +include("${CMAKE_CURRENT_LIST_DIR}/vars/EnableModeVars.cmake")