We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b64dd9 commit 3f53f17Copy full SHA for 3f53f17
2 files changed
CMakeLists.txt
@@ -1,5 +1,5 @@
1
-cmake_minimum_required(VERSION 3.2)
2
-cmake_policy(VERSION 3.2)
+cmake_minimum_required(VERSION 3.5)
+cmake_policy(VERSION 3.5)
3
4
project(qBittorrent VERSION 3.4.0.0)
5
src/base/CMakeLists.txt
@@ -1,5 +1,4 @@
find_package(ZLIB REQUIRED)
-include_directories(SYSTEM ${ZLIB_INCLUDE_DIRS})
set(QBT_BASE_HEADERS
bittorrent/cachestatus.h
@@ -113,7 +112,7 @@ tristatebool.cpp
113
112
)
114
115
add_library(qbt_base STATIC ${QBT_BASE_HEADERS} ${QBT_BASE_SOURCES})
116
-target_link_libraries(qbt_base ${ZLIB_LIBRARIES} LibtorrentRasterbar::LibTorrent)
+target_link_libraries(qbt_base ZLIB::ZLIB LibtorrentRasterbar::LibTorrent)
117
target_link_qt_components(qbt_base Core Network Xml)
118
if (QT4_FOUND)
119
if (GUI)
0 commit comments