]> OCCT Git - occt-copy.git/commitdiff
0031014: Inspectors - variables for Qt in CMake
authornds <nds@opencascade.com>
Fri, 4 Oct 2019 06:36:19 +0000 (09:36 +0300)
committernds <nds@opencascade.com>
Fri, 4 Oct 2019 16:00:50 +0000 (19:00 +0300)
(cherry picked from commit f3dd41854b0f1af6181c61d4d06ed813c7c342fb)

adm/cmake/qt.cmake

index 6958bab5622b2aaac10d33237968fa753862c60b..75a755e8cbec2dbd8d8644ae3b016e45713cf41d 100644 (file)
@@ -31,4 +31,10 @@ if (NOT ${Qt5_FOUND})
   #message (STATUS "Qt4 cmake configuration")
 else()
   #message (STATUS "Qt5 cmake configuration")
-endif()
\ No newline at end of file
+endif()
+
+if (3RDPARTY_QT_DIR OR EXISTS "${3RDPARTY_QT_DIR}")
+  list (APPEND 3RDPARTY_DLL_DIRS "${3RDPARTY_QT_DIR}/bin")
+else()
+  list (APPEND 3RDPARTY_NO_DLLS 3RDPARTY_QT_DLL_DIR)
+endif()