Skip to content

Commit

Permalink
NSI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benapetr committed Dec 15, 2014
1 parent cfeaae3 commit df59935
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion huggle/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ if (HUGGLE_EXT)
add_subdirectory(extension_list/enwiki/)
add_subdirectory(extension_list/mass-delivery/)
endif()
SET(CMAKE_CXX_FLAGS "-std=c++11")
SET(QT_USE_QTNETWORK TRUE)
SET(QT_USE_QTXML TRUE)
SET(QT_USE_QTWEBKIT TRUE)
SET(CMAKE_BUILD_TYPE Release)
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
SET(CMAKE_AUTOMOC ON)
if(WIN32)
SET(CMAKE_CXX_FLAGS "-mwindows -std=c++11")
else()
SET(CMAKE_CXX_FLAGS "-std=c++11")
endif()
#### Qt 4 and 5 ####
if(QT5_BUILD)
find_package(Qt5Core REQUIRED)
Expand Down
8 changes: 4 additions & 4 deletions windows/Huggle.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ File "release\platforms\qminimal.dll"
File "release\platforms\qoffscreen.dll"
File "release\platforms\qwindows.dll"
SetOutPath "$INSTDIR\extensions"
File "release\MassDelivery.dll"
File "release\enwiki.dll"
File "release\libhuggle_md.dll"
File "release\liben.dll"
SectionEnd

######################################################################
Expand Down Expand Up @@ -181,9 +181,9 @@ ${INSTALL_TYPE}
Delete "$INSTDIR\${MAIN_APP_EXE}"
Delete "$INSTDIR\icuin53.dll"
Delete "$INSTDIR\libcore.dll.a"
Delete "$INSTDIR\extensions\MassDelivery.dll"
Delete "$INSTDIR\extensions\libhuggle_md.dll"
Delete "$INSTDIR\libcore.dll"
Delete "$INSTDIR\extensions\enwiki.dll"
Delete "$INSTDIR\extensions\liben.dll"
Delete "$INSTDIR\Qt5Core.dll"
Delete "$INSTDIR\Qt5Multimedia.dll"
Delete "$INSTDIR\icudt53.dll"
Expand Down

0 comments on commit df59935

Please sign in to comment.