We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f5ced commit 7eb44ebCopy full SHA for 7eb44eb
cmake/OpenCVFindProtobuf.cmake
@@ -67,7 +67,7 @@ else()
67
if(IOS OR ANDROID)
68
# add cmake/host subdiretcory as host project to install protoc
69
include(hunter_experimental_add_host_project)
70
- hunter_experimental_add_host_project("${OpenCV_SOURCE_DIR}/cmake/protobuf-host")
+ hunter_experimental_add_host_project("${CMAKE_CURRENT_LIST_DIR}/protobuf-host")
71
72
add_executable(protobuf::protoc IMPORTED)
73
set_property(TARGET protobuf::protoc APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
0 commit comments