[vlmc-devel] commit: Win32: correctly link static Qt libraries (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Mon Sep 6 20:36:28 CEST 2010


vlmc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Sep  6 18:37:15 2010 +0200| [e907a43775feaae9657142d2b7e24b2533f7dfa1] | committer: Hugo Beauzée-Luyssen 

Win32: correctly link static Qt libraries

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h at gmail.com>

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=e907a43775feaae9657142d2b7e24b2533f7dfa1
---

 CMakeLists.txt |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 554e1c8..01ad209 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,6 +117,16 @@ IF (NOT WIN32)
 
     INCLUDE(${QT_USE_FILE})
     ADD_DEFINITIONS(${QT_DEFINITIONS})
+ELSE (NOT WIN32)
+    SET (VLMC_LIBS
+            /usr/win32/lib/libQtNetwork.a /usr/win32/lib/libQtXml.a
+            /usr/win32/lib/libqtaccessiblewidgets.a
+            /usr/win32/lib/libQtGui.a /usr/win32/lib/libqjpeg.a
+            /usr/win32/lib/libqtaccessiblewidgets.a
+            /usr/win32/lib/libQtCore.a
+            ${CMAKE_CURRENT_SOURCE_DIR}/contribs/lib/libvlccore.dll.a
+            ${CMAKE_CURRENT_SOURCE_DIR}/contribs/lib/libvlc.dll.a
+            ws2_32 winmm imm32)
 ENDIF(NOT WIN32)
 
 # layout of VLMC installation



More information about the Vlmc-devel mailing list