mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-01-06 13:54:23 +01:00
28 lines
830 B
Diff
28 lines
830 B
Diff
--- ./scripts/src/osd/sdl_cfg.lua.orig 2017-04-18 11:55:38.584123253 +0100
|
|
+++ ./scripts/src/osd/sdl_cfg.lua 2017-04-18 16:12:46.455489734 +0100
|
|
@@ -116,14 +116,16 @@
|
|
configuration { }
|
|
|
|
elseif _OPTIONS["targetos"]=="linux" then
|
|
- if _OPTIONS["QT_HOME"]~=nil then
|
|
- buildoptions {
|
|
- "-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
|
|
- }
|
|
- else
|
|
- buildoptions {
|
|
- backtick(pkgconfigcmd() .. " --cflags Qt5Widgets"),
|
|
- }
|
|
+ if _OPTIONS["USE_QTDEBUG"]=="1" then
|
|
+ if _OPTIONS["QT_HOME"]~=nil then
|
|
+ buildoptions {
|
|
+ "-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
|
|
+ }
|
|
+ else
|
|
+ buildoptions {
|
|
+ backtick(pkgconfigcmd() .. " --cflags Qt5Widgets"),
|
|
+ }
|
|
+ end
|
|
end
|
|
elseif _OPTIONS["targetos"]=="macosx" then
|
|
defines {
|