diff CMakeLists.txt @ 11:7e2f14c7aba2

Split up downloader component and further implement it
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 14 Feb 2014 11:20:15 +0000
parents 992c0ec57660
children e26f9cc93601
line wrap: on
line diff
--- a/CMakeLists.txt	Thu Feb 13 14:43:15 2014 +0000
+++ b/CMakeLists.txt	Fri Feb 14 11:20:15 2014 +0000
@@ -20,6 +20,9 @@
 set(M13UI_SOURCES
     ${CMAKE_SOURCE_DIR}/ui/mainwindow.cpp
     ${CMAKE_SOURCE_DIR}/ui/certificatelist.cpp
+    ${CMAKE_SOURCE_DIR}/ui/downloader.cpp
+    ${CMAKE_SOURCE_DIR}/ui/downloader_win.cpp
+    ${CMAKE_SOURCE_DIR}/ui/downloader_linux.cpp
     ${CMAKE_SOURCE_DIR}/ui/listutil.c
 )
 
@@ -67,7 +70,8 @@
         -lQt5PlatformSupport -lQt5Gui -lcomdlg32 -loleaut32 -limm32 -lwinmm
         -lglu32 -lopengl32 -lgdi32 -ljpeg -lpng -lQt5Core -lole32 -luuid -lws2_32
         -ladvapi32 -lshell32 -luser32 -lkernel32 -lz -lsicuin -lsicuuc -lsicudt -lpcre16)
-   set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS})
+
+   set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS} -lwinhttp)
 
    set(HARDENING_FLAGS " ${HARDENING_FLAGS} -Wl,--dynamicbase -Wl,--nxcompat")
 endif()

http://wald.intevation.org/projects/trustbridge/