Skip to content

Commit

Permalink
Version 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Mar 31, 2019
2 parents 29cf619 + f57de98 commit aeebdaf
Show file tree
Hide file tree
Showing 455 changed files with 24,743 additions and 15,145 deletions.
84 changes: 80 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,39 @@ environment:
DEPLOY: 0
MYSQL_VERSION: mysql-5.7.14-win32
APNG_PLUGIN: apng-1.1.05.10.1
QSCINTILLA_VERSION: QScintilla_gpl-2.10.8

matrix:
# MSVC x86
- PLATFORM: amd64_x86
QTDIR: C:\Qt\5.10.1\msvc2015
OPENSSLDIR: C:\OpenSSL-Win32
MAKE: nmake
MAKEFILES: NMake Makefiles
DEPLOY: 1

# MSVC x64
- PLATFORM: amd64
QTDIR: C:\Qt\5.10.1\msvc2015_64
OPENSSLDIR: C:\OpenSSL-Win64
MAKE: nmake
MAKEFILES: NMake Makefiles
DEPLOY: 1

# MinGW
- PLATFORM: mingw
QTDIR: C:\Qt\5.10.1\mingw53_32
OPENSSLDIR: C:\OpenSSL-Win32
MAKE: mingw32-make
MAKEFILES: MinGW Makefiles

cache:
- release\sites\node_modules -> release\sites\package.json
- mysql-5.7.14-win32 -> .appveyor.yml
- apng-1.1.05.10.1 -> .appveyor.yml
- QScintilla_gpl-2.10.8 -> .appveyor.yml
- depot_tools -> .appveyor.yml
- breakpad -> .appveyor.yml

init:
- git config --global core.autocrlf input
Expand All @@ -38,33 +46,87 @@ init:
- set PATH=%QTDIR%\bin;%PATH%
- if not %PLATFORM%==mingw call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
- set PATH=%PATH%;"C:\\Program Files (x86)\\Inno Setup 5"
- if "%APPVEYOR_REPO_TAG%"=="true" (set "GRABBER_IS_NIGHTLY=0") else (set "GRABBER_IS_NIGHTLY=1")
- if "%APPVEYOR_REPO_TAG%"=="true" (set "GRABBER_VERSION=%APPVEYOR_REPO_TAG_NAME%") else (set "GRABBER_VERSION=nightly")
- if "%PLATFORM%"=="X86" (set "PLATFORM_NAME=x86") else (set "PLATFORM_NAME=x64")

install:
- git submodule update --init --recursive

build_script:
# Download Google tools and put them in the PATH (required for Google Breakpad)
- if not exist "depot_tools" appveyor DownloadFile https://storage.googleapis.com/chrome-infra/depot_tools.zip
- if not exist "depot_tools" 7z x "depot_tools.zip" -odepot_tools -y
- depot_tools\update_depot_tools
- set PATH=%APPVEYOR_BUILD_FOLDER%\depot_tools;%PATH%

# Build Google Breakpad
- set "BREAKPAD_BUILD=0"
- if %DEPLOY%==1 if not exist "breakpad" set "BREAKPAD_BUILD=1"
- if %BREAKPAD_BUILD%==1 mkdir breakpad
- if %BREAKPAD_BUILD%==1 cd breakpad
- if %BREAKPAD_BUILD%==1 gclient config https://github.com/google/breakpad --unmanaged --name=src
- if %BREAKPAD_BUILD%==1 gclient sync
- if %BREAKPAD_BUILD%==1 cd src\src\client\windows
- if %BREAKPAD_BUILD%==1 sed -i -e "s/<\/RuntimeLibrary>/DLL<\/RuntimeLibrary>/g;" *.vcxproj # <TreatWChar_tAsBuiltInType>false<\/TreatWChar_tAsBuiltInType>
- if %BREAKPAD_BUILD%==1 sed -i -e "s/<\/RuntimeLibrary>/DLL<\/RuntimeLibrary>/g;" */*.vcxproj
- if %BREAKPAD_BUILD%==1 sed -i -e "s/<\/RuntimeLibrary>/DLL<\/RuntimeLibrary>/g;" */*/*.vcxproj
- if %BREAKPAD_BUILD%==1 if "%PLATFORM%"=="X86" (set "BREAKPAD_PLATFORM=Win32") else (set "BREAKPAD_PLATFORM=x64")
- if %BREAKPAD_BUILD%==1 msbuild breakpad_client.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /m /verbosity:normal /p:Configuration=Release /p:Platform="%BREAKPAD_PLATFORM%"
- if %BREAKPAD_BUILD%==1 cd "%APPVEYOR_BUILD_FOLDER%"

# Build QScintilla
- set "QSCINTILLA_BUILD=0"
- if %DEPLOY%==1 if not exist %QSCINTILLA_VERSION% set "QSCINTILLA_BUILD=1"
- if %QSCINTILLA_BUILD%==1 curl -L "https://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.10.8/%QSCINTILLA_VERSION%.zip" -o "%QSCINTILLA_VERSION%.zip"
- if %QSCINTILLA_BUILD%==1 7z x "%QSCINTILLA_VERSION%.zip" -y
- if %DEPLOY%==1 call "%QTDIR%/bin/qtenv2.bat"
- if %DEPLOY%==1 cd "%APPVEYOR_BUILD_FOLDER%/%QSCINTILLA_VERSION%/Qt4Qt5"
- if %QSCINTILLA_BUILD%==1 qmake qscintilla.pro
- if %QSCINTILLA_BUILD%==1 if not %PLATFORM%==mingw (nmake) else (mingw32-make)
- if %DEPLOY%==1 if not %PLATFORM%==mingw (nmake install) else (mingw32-make install)
- if %DEPLOY%==1 cd "%APPVEYOR_BUILD_FOLDER%"

# Build Grabber
- if %GRABBER_IS_NIGHTLY%==1 (set "BUILD_TYPE=Release") else (set "BUILD_TYPE=RelWithDebInfo")
- mkdir build
- cd build
- cmake .. -G "%MAKEFILES%" -DCMAKE_BUILD_TYPE=Release
- cmake .. -G "%MAKEFILES%" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DNIGHTLY=%GRABBER_IS_NIGHTLY% -DCOMMIT="%APPVEYOR_REPO_COMMIT%" -DVERSION="%GRABBER_VERSION%" -DBREAKPAD="%APPVEYOR_BUILD_FOLDER%/breakpad/src"
- if not %PLATFORM%==mingw (nmake) else (mingw32-make)
- cd ..

# Download APNG plugin DLL
- if %DEPLOY%==1 if not exist %APNG_PLUGIN% curl -L https://install.skycoder42.de/qtmodules/windows_x86/qt5101/qt.qt5.5101.skycoder42.png.win32_msvc2015/1.1.05.10.1.7z -o "%APNG_PLUGIN%.7z"
- if %DEPLOY%==1 if not exist %APNG_PLUGIN% 7z x "%APNG_PLUGIN%.7z" -y -o"%APNG_PLUGIN%"

# Download Mysql DLL
- if %DEPLOY%==1 if not exist %MYSQL_VERSION% curl -L -O "https://dev.mysql.com/get/Downloads/MySQL-5.7/%MYSQL_VERSION%.zip"
- if %DEPLOY%==1 if not exist %MYSQL_VERSION% 7z x "%MYSQL_VERSION%.zip" -y
- if %DEPLOY%==1 iscc /Q /DMyAppVersion="nightly" /DQtDir="%QTDIR%\bin" /DOpenSSLDir="C:\OpenSSL-Win32" /DMySQLDir="%APPVEYOR_BUILD_FOLDER%\%MYSQL_VERSION%" /DQtApngDll="%APPVEYOR_BUILD_FOLDER%\%APNG_PLUGIN%\5.10.1\msvc2015\plugins\imageformats\qapng.dll" releases/setup.iss

# Generate installer
- if %DEPLOY%==1 iscc /Q /DMyAppVersion="%GRABBER_VERSION%" /DPlatformName="%PLATFORM_NAME%" /DQtDir="%QTDIR%\bin" /DOpenSSLDir="%OPENSSLDIR%" /DMySQLDir="%APPVEYOR_BUILD_FOLDER%\%MYSQL_VERSION%" /DQtApngDll="%APPVEYOR_BUILD_FOLDER%\%APNG_PLUGIN%\5.10.1\msvc2015\plugins\imageformats\qapng.dll" releases/setup.iss

# Package symbol files to zip
- if %DEPLOY%==1 if "%BUILD_TYPE%"=="RelWithDebInfo" 7z a "releases\Grabber_%GRABBER_VERSION%_%PLATFORM_NAME%_symbols.zip" ".\build\gui\Grabber.pdb" ".\build\cli\Grabber-cli.pdb"

test_script:
- build\tests\tests.exe

artifacts:
- path: releases\Grabber_nightly.exe
- path: releases\Grabber_*.exe
name: windows_setup
- path: releases\Grabber_*_symbols.zip
name: windows_symbols_zip

deploy:
# Nightly
- provider: GitHub
tag: nightly
release: Nightly
draft: false
prerelease: true
force_update: true
artifact: releases\Grabber_nightly.exe
artifact: windows_setup
description: |
Nightly automated builds from the develop branch.
Automatically uploaded by AppVeyor, **use at your own risk**!
Expand All @@ -76,3 +138,17 @@ deploy:
on:
branch: develop
DEPLOY: 1

# Releases
- provider: GitHub
tag: $(APPVEYOR_REPO_TAG_NAME)
release: $(APPVEYOR_REPO_TAG_NAME)
draft: true
prerelease: false
force_update: true
artifact: windows_setup, windows_symbols_zip
auth_token:
secure: mUYQ72KBJUaYr5Bhy2HkBkEY13Q7k27Q7IRmOGXfTOq7YnXUS9PikETcZvzCfiVu
on:
APPVEYOR_REPO_TAG: true
DEPLOY: 1
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ releases/release.sh
releases/translation_tools.rar
CrashReporter/debug/
CrashReporter/release/
gui/android/AndroidManifest.xml


# NPM
Expand Down Expand Up @@ -131,3 +132,8 @@ Makefile*

*.qmlproject.user
*.qmlproject.user.*


# VS Code

.vscode/
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "cmake/qt-android-cmake"]
path = cmake/qt-android-cmake
url = https://github.com/LaurentGomila/qt-android-cmake.git
[submodule "cmake/cotire"]
path = cmake/cotire
url = https://github.com/sakra/cotire.git
58 changes: 40 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6.0)
cmake_minimum_required(VERSION 3.2)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
Expand All @@ -19,28 +19,40 @@ if(MSVC OR CMAKE_CXX_COMPILER MATCHES "cl\\.exe")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4714 /wd4127 /wd4005") # Suppress some warnings
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4714 /wd4127 /wd4005 /wd4251") # Suppress some warnings
elseif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-macro-redefined -pedantic")
endif()

project(Grabber)
if((NOT DEFINED VERSION) OR ((DEFINED NIGHTLY) AND (NIGHTLY MATCHES "1")))
set(VERSION "7.0.0")
else()
string(REGEX REPLACE "^v" "" VERSION VERSION)
endif()
set(USE_SSL 1)
set(USE_PCH 1)

add_definitions(-DVERSION="6.0.6")
# Android settings
set(ANDROID_APP_NAME ${PROJECT_NAME})
set(ANDROID_APP_VERSION_NAME ${VERSION})
set(ANDROID_APP_VERSION_CODE 1)
set(ANDROID_APP_PACKAGE_NAME "com.bionus.grabber")

message(STATUS "Configuring for version '${VERSION}'")

add_definitions(-DVERSION="${VERSION}")
add_definitions(-DPROJECT_WEBSITE_URL="https://bionus.github.io/imgbrd-grabber")
add_definitions(-DPROJECT_GITHUB_URL="https://github.com/Bionus/imgbrd-grabber")
add_definitions(-DSOURCE_ISSUES_URL="https://raw.githubusercontent.com/wiki/Bionus/imgbrd-grabber/SourceIssues.md")
add_definitions(-DPREFIX="${CMAKE_INSTALL_PREFIX}")

# SSL
if(USE_SSL)
message("Compiling with SSL support")
if(USE_SSL AND (NOT ANDROID))
message(STATUS "Compiling with SSL support")
find_package(OpenSSL REQUIRED)
if (OPENSSL_FOUND)
message("OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
message("OpenSSL libraries: ${OPENSSL_LIBRARIES}")
message(STATUS "OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
message(STATUS "OpenSSL libraries: ${OPENSSL_LIBRARIES}")
include_directories(${OPENSSL_INCLUDE_DIR})
list(APPEND LIBS ${OPENSSL_LIBRARIES})
endif()
Expand All @@ -53,14 +65,14 @@ if((DEFINED ENV{COVERAGE}) AND CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage")
endif()

# Add a bunch of definitions for Travis builds
if((DEFINED ENV{TRAVIS}) AND UNIX AND NOT APPLE AND CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-DTRAVIS=1)
if("$ENV{TRAVIS_OS_NAME}" STREQUAL "osx")
add_definitions(-DTRAVIS_OS_OSX=1)
elseif("$ENV{TRAVIS_OS_NAME}" STREQUAL "linux")
add_definitions(-DTRAVIS_OS_LINUX=1)
endif()
# Pre-compiled headers
if(WIN32)
set(USE_PCH 1)
else()
set(USE_PCH 0)
endif()
if(USE_PCH)
include(cotire/CMake/cotire)
endif()

add_subdirectory(lib)
Expand All @@ -77,11 +89,21 @@ install(DIRECTORY release/ DESTINATION share/Grabber/
PATTERN "*.exe" EXCLUDE)
install(FILES "release/Grabber.desktop" DESTINATION share/applications/)

# Replicate the behavior of "list(FILTER ${LIST} EXCLUDE REGEX ${REGEX})" on older CMake versions
function(listFilterRegex LIST REGEX)
foreach(ITEM ${${LIST}})
if(NOT ITEM MATCHES "${REGEX}")
list(APPEND OUTPUT ${ITEM})
endif()
endforeach()
set(${LIST} ${OUTPUT} PARENT_SCOPE)
endfunction()

# Transpile TS sites into JS
set(SITES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/release/sites")
file(GLOB_RECURSE SITES_TS_FILES "${SITES_DIR}/**.ts")
list(FILTER SITES_TS_FILES EXCLUDE REGEX ".*.d.ts$")
list(FILTER SITES_TS_FILES EXCLUDE REGEX "node_modules")
listFilterRegex(SITES_TS_FILES ".*.d.ts$")
listFilterRegex(SITES_TS_FILES "node_modules")
add_custom_command(
OUTPUT NPM_modules
DEPENDS "${SITES_DIR}/package.json"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,17 @@ For users interested, a nightly version is built automatically on every commit o
* Rename already downloaded images

## Default sources
You can add additional sources very easily, but here's a short list of some sources that are included and supported by default: Danbooru, Gelbooru, yande.re, Shimmie, e621, Konachan, rule34, safebooru, behoimi, Zerochan...
You can add additional sources very easily, but here's a short list of some sources that are included and supported by default: Danbooru, Gelbooru, yande.re, Shimmie, e621, Konachan, rule34, safebooru, behoimi, Zerochan, Twitter...

## Compilation
See the [Compilation](https://github.com/Bionus/imgbrd-grabber/wiki/Compilation) wiki page to know how to build Grabber.

## Contributors
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore -->
| [<img src="https://avatars2.githubusercontent.com/u/882719?s=122" width="122px;"/><br /><sub><b>Jack Vasti</b></sub>](https://github.com/Bionus)<br />[💻](https://github.com/Bionus/imgbrd-grabber/commits?author=Bionus "Code") [📖](https://github.com/Bionus/imgbrd-grabber/commits?author=Bionus "Documentation") [⚠️](https://github.com/Bionus/imgbrd-grabber/commits?author=Bionus "Tests") | [<img src="https://avatars0.githubusercontent.com/u/16903308?s=122" width="122px;"/><br /><sub><b>YMI</b></sub>](https://github.com/Zzzyyzzyxx)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3AYMI "Bug reports") [🤔](#ideas-YMI "Ideas, Planning, & Feedback") | [<img src="https://avatars2.githubusercontent.com/u/12085184?s=122" width="122px;"/><br /><sub><b>SultrySamthepenna&hellip;</b></sub>](https://github.com/SultrySamthepennanceman)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3ASultrySamthepennanceman "Bug reports") | [<img src="https://avatars1.githubusercontent.com/u/5648875?s=122" width="122px;"/><br /><sub><b>Barry Anders</b></sub>](https://github.com/BarryMode)<br />[💻](https://github.com/Bionus/imgbrd-grabber/commits?author=BarryMode "Code") [🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3ABarryMode "Bug reports") | [<img src="https://avatars3.githubusercontent.com/u/2048861?s=122" width="122px;"/><br /><sub><b>Ken Swenson</b></sub>](https://github.com/Flat)<br />[💻](https://github.com/Bionus/imgbrd-grabber/commits?author=Flat "Code") [📦](#platform-Flat "Packaging/porting to new platform") | [<img src="https://avatars0.githubusercontent.com/u/18506295?s=122" width="122px;"/><br /><sub><b>Larry He</b></sub>](https://github.com/larry-he)<br />[💻](https://github.com/Bionus/imgbrd-grabber/commits?author=larry-he "Code") |
| :---: | :---: | :---: | :---: | :---: | :---: |
| [<img src="https://avatars3.githubusercontent.com/u/19770864?s=122" width="122px;"/><br /><sub><b>brodycas3</b></sub>](https://github.com/brodycas3)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3Abrodycas3 "Bug reports") | [<img src="https://avatars1.githubusercontent.com/u/1650692?s=122" width="122px;"/><br /><sub><b>Klion Xu</b></sub>](https://github.com/sanddudu)<br />[🌍](#translation-sanddudu "Translation") | [<img src="https://avatars2.githubusercontent.com/u/22294259?s=122" width="122px;"/><br /><sub><b>MasterPetrik</b></sub>](https://github.com/MasterPetrik)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3AMasterPetrik "Bug reports") [🌍](#translation-MasterPetrik "Translation") [🤔](#ideas-MasterPetrik "Ideas, Planning, & Feedback") | [<img src="https://avatars3.githubusercontent.com/u/6687927?s=122" width="122px;"/><br /><sub><b>Eddy Castillo</b></sub>](https://github.com/dyskette)<br />[🌍](#translation-dyskette "Translation") | [<img src="https://avatars0.githubusercontent.com/u/6564956?s=122" width="122px;"/><br /><sub><b>MrAndre96</b></sub>](https://github.com/MrAndre96)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3AMrAndre96 "Bug reports") |
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore -->
| [<img src="https://avatars2.githubusercontent.com/u/882719?s=122" width="122px;"/><br /><sub><b>Jack Vasti</b></sub>](https://github.com/Bionus)<br />[💻](https://github.com/Bionus/imgbrd-grabber/commits?author=Bionus "Code") [📖](https://github.com/Bionus/imgbrd-grabber/commits?author=Bionus "Documentation") [⚠️](https://github.com/Bionus/imgbrd-grabber/commits?author=Bionus "Tests") | [<img src="https://avatars0.githubusercontent.com/u/16903308?s=122" width="122px;"/><br /><sub><b>YMI</b></sub>](https://github.com/Zzzyyzzyxx)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3AYMI "Bug reports") [🤔](#ideas-YMI "Ideas, Planning, & Feedback") | [<img src="https://avatars2.githubusercontent.com/u/12085184?s=122" width="122px;"/><br /><sub><b>SultrySamthepenna&hellip;</b></sub>](https://github.com/SultrySamthepennanceman)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3ASultrySamthepennanceman "Bug reports") | [<img src="https://avatars1.githubusercontent.com/u/5648875?s=122" width="122px;"/><br /><sub><b>Barry Anders</b></sub>](https://github.com/BarryMode)<br />[💻](https://github.com/Bionus/imgbrd-grabber/commits?author=BarryMode "Code") [🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3ABarryMode "Bug reports") | [<img src="https://avatars3.githubusercontent.com/u/2048861?s=122" width="122px;"/><br /><sub><b>Ken Swenson</b></sub>](https://github.com/Flat)<br />[💻](https://github.com/Bionus/imgbrd-grabber/commits?author=Flat "Code") [📦](#platform-Flat "Packaging/porting to new platform") | [<img src="https://avatars0.githubusercontent.com/u/18506295?s=122" width="122px;"/><br /><sub><b>Larry He</b></sub>](https://github.com/larry-he)<br />[💻](https://github.com/Bionus/imgbrd-grabber/commits?author=larry-he "Code") |
| :---: | :---: | :---: | :---: | :---: | :---: |
| [<img src="https://avatars3.githubusercontent.com/u/19770864?s=122" width="122px;"/><br /><sub><b>brodycas3</b></sub>](https://github.com/brodycas3)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3Abrodycas3 "Bug reports") | [<img src="https://avatars1.githubusercontent.com/u/1650692?s=122" width="122px;"/><br /><sub><b>Klion Xu</b></sub>](https://github.com/sanddudu)<br />[🌍](#translation-sanddudu "Translation") | [<img src="https://avatars2.githubusercontent.com/u/22294259?s=122" width="122px;"/><br /><sub><b>MasterPetrik</b></sub>](https://github.com/MasterPetrik)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3AMasterPetrik "Bug reports") [🌍](#translation-MasterPetrik "Translation") [🤔](#ideas-MasterPetrik "Ideas, Planning, & Feedback") | [<img src="https://avatars3.githubusercontent.com/u/6687927?s=122" width="122px;"/><br /><sub><b>Eddy Castillo</b></sub>](https://github.com/dyskette)<br />[🌍](#translation-dyskette "Translation") | [<img src="https://avatars0.githubusercontent.com/u/6564956?s=122" width="122px;"/><br /><sub><b>MrAndre96</b></sub>](https://github.com/MrAndre96)<br />[🐛](https://github.com/Bionus/imgbrd-grabber/issues?q=author%3AMrAndre96 "Bug reports") |
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification.
Expand Down
3 changes: 2 additions & 1 deletion cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ project(cli)
add_definitions(-DCLI=1)

find_package(Qt5Core REQUIRED)
set(QT_LIBRARIES Qt5::Core)
find_package(Qt5Network REQUIRED)
set(QT_LIBRARIES Qt5::Core Qt5::Network)

file(GLOB_RECURSE SOURCES "src/*.cpp")
include_directories("src/" "../lib/src/" "..")
Expand Down
Loading

0 comments on commit aeebdaf

Please sign in to comment.