Skip to content

Commit 7eb44eb

Browse files
committed
Try fixing iOS/Android protobuf
1 parent 94f5ced commit 7eb44eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/OpenCVFindProtobuf.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ else()
6767
if(IOS OR ANDROID)
6868
# add cmake/host subdiretcory as host project to install protoc
6969
include(hunter_experimental_add_host_project)
70-
hunter_experimental_add_host_project("${OpenCV_SOURCE_DIR}/cmake/protobuf-host")
70+
hunter_experimental_add_host_project("${CMAKE_CURRENT_LIST_DIR}/protobuf-host")
7171

7272
add_executable(protobuf::protoc IMPORTED)
7373
set_property(TARGET protobuf::protoc APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)

0 commit comments

Comments
 (0)