mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
25 lines
639 B
Text
25 lines
639 B
Text
|
win32 {
|
||
|
LIBS += -luser32
|
||
|
}
|
||
|
|
||
|
# Optional dependency on Windows SDK 7
|
||
|
!contains(QMAKE_TARGET.arch, x86_64) {
|
||
|
win32:exists(C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\Windows.h) {
|
||
|
LIBS += -L"C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib" -ldwmapi
|
||
|
|
||
|
DEFINES += "USEWINSDK"
|
||
|
message(Using Windows SDK 7)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
# Optional dependency on Windows SDK 10
|
||
|
contains(QMAKE_TARGET.arch, x86_64) {
|
||
|
WIN_SDK_VERSION = $$(WindowsSDKVersion)
|
||
|
!isEmpty(WIN_SDK_VERSION) {
|
||
|
!equals(WIN_SDK_VERSION, "\\") {
|
||
|
DEFINES += "USEWINSDK"
|
||
|
message(Using Windows SDK 10)
|
||
|
}
|
||
|
}
|
||
|
}
|