cmake: use relative path for mode vars
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 13 Jul 2021 09:15:03 +0000 (09:15 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 13 Jul 2021 09:15:03 +0000 (09:15 +0000)
cmake/OpenCVUtils.cmake

index 3944515..da0ee3b 100644 (file)
@@ -1978,4 +1978,4 @@ endif()
 #
 # Include configuration override settings
 #
-include(cmake/vars/EnableModeVars.cmake)
+include("${CMAKE_CURRENT_LIST_DIR}/vars/EnableModeVars.cmake")