Skip to content

Commit 8c7037b

Browse files
committed
fix if
1 parent c7dcf43 commit 8c7037b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

patches/patchQtPlugins

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
Submodule opencv contains untracked content
12
Submodule opencv contains modified content
23
diff --git a/opencv/CMakeLists.txt b/opencv/CMakeLists.txt
3-
index 4c0b3880fc..dbe1a74622 100644
4+
index 4c0b3880fc..54da25f151 100644
45
--- a/opencv/CMakeLists.txt
56
+++ b/opencv/CMakeLists.txt
67
@@ -1187,6 +1187,12 @@ if(WITH_QT OR HAVE_QT)
@@ -10,7 +11,7 @@ index 4c0b3880fc..dbe1a74622 100644
1011
+ if(APPLE)
1112
+ install(DIRECTORY ${Qt5_DIR}/../../../plugins DESTINATION lib/qt)
1213
+ endif()
13-
+ if(UNIX)
14+
+ if(UNIX AND NOT APPLE)
1415
+ install(DIRECTORY ${Qt5_DIR}/../../qt5/plugins DESTINATION lib/qt)
1516
+ endif()
1617
elseif(HAVE_QT)

0 commit comments

Comments
 (0)