mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
Move NOMINMAX define
This commit is contained in:
parent
551ffb88ab
commit
39b56ac598
4 changed files with 2 additions and 5 deletions
|
@ -42,9 +42,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|||
add_definitions(-DQT_NO_CAST_TO_ASCII)
|
||||
# Efficient construction for QString & QByteArray (Qt >= 4.8)
|
||||
add_definitions(-DQT_USE_QSTRINGBUILDER)
|
||||
if (WIN32)
|
||||
add_definitions(-DNOMINMAX)
|
||||
endif (WIN32)
|
||||
|
||||
if (NOT GUI)
|
||||
add_definitions(-DDISABLE_GUI -DDISABLE_COUNTRIES_RESOLUTION)
|
||||
|
|
|
@ -60,8 +60,6 @@ DEFINES += QT_NO_CAST_TO_ASCII
|
|||
# Efficient construction for QString & QByteArray (Qt >= 4.8)
|
||||
DEFINES += QT_USE_QSTRINGBUILDER
|
||||
|
||||
win32: DEFINES += NOMINMAX
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
|
||||
include(app/app.pri)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue