提交 8c7037b7 编写于 作者: O Olli-Pekka Heinisuo

fix if

上级 c7dcf432
Submodule opencv contains untracked content
Submodule opencv contains modified content Submodule opencv contains modified content
diff --git a/opencv/CMakeLists.txt b/opencv/CMakeLists.txt diff --git a/opencv/CMakeLists.txt b/opencv/CMakeLists.txt
index 4c0b3880fc..dbe1a74622 100644 index 4c0b3880fc..54da25f151 100644
--- a/opencv/CMakeLists.txt --- a/opencv/CMakeLists.txt
+++ b/opencv/CMakeLists.txt +++ b/opencv/CMakeLists.txt
@@ -1187,6 +1187,12 @@ if(WITH_QT OR HAVE_QT) @@ -1187,6 +1187,12 @@ if(WITH_QT OR HAVE_QT)
...@@ -10,7 +11,7 @@ index 4c0b3880fc..dbe1a74622 100644 ...@@ -10,7 +11,7 @@ index 4c0b3880fc..dbe1a74622 100644
+ if(APPLE) + if(APPLE)
+ install(DIRECTORY ${Qt5_DIR}/../../../plugins DESTINATION lib/qt) + install(DIRECTORY ${Qt5_DIR}/../../../plugins DESTINATION lib/qt)
+ endif() + endif()
+ if(UNIX) + if(UNIX AND NOT APPLE)
+ install(DIRECTORY ${Qt5_DIR}/../../qt5/plugins DESTINATION lib/qt) + install(DIRECTORY ${Qt5_DIR}/../../qt5/plugins DESTINATION lib/qt)
+ endif() + endif()
elseif(HAVE_QT) elseif(HAVE_QT)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册