Skip to content

Commit 012c4dd

Browse files
rbshethNeroBurner
authored andcommitted
hunter: fix for config root-WIN32
1 parent 16e03cd commit 012c4dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/templates/OpenCVConfig.root-WIN32.cmake.in

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ if(CMAKE_VERSION VERSION_GREATER 2.6)
4141
endif()
4242
endif()
4343

44+
set(OpenCV_STATIC @OpenCV_STATIC@)
45+
set(OpenCV_CUDA @OpenCV_CUDA@)
46+
4447
if(NOT DEFINED OpenCV_STATIC)
4548
# look for global setting
4649
if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)

0 commit comments

Comments
 (0)