|
@@ -97,7 +97,7 @@ package("imgui")
|
|
add_syslinks("imm32")
|
|
add_syslinks("imm32")
|
|
end
|
|
end
|
|
|
|
|
|
- on_load("macosx", "linux", "windows", "mingw", "android", "iphoneos", function (package)
|
|
|
|
|
|
+ on_load(function (package)
|
|
-- begin: backwards compatibility
|
|
-- begin: backwards compatibility
|
|
if package:config("sdl2") or package:config("sdlrenderer") then
|
|
if package:config("sdl2") or package:config("sdlrenderer") then
|
|
package:config_set("sdl2_renderer", true)
|
|
package:config_set("sdl2_renderer", true)
|
|
@@ -144,7 +144,7 @@ package("imgui")
|
|
end
|
|
end
|
|
end)
|
|
end)
|
|
|
|
|
|
- on_install("macosx", "linux", "windows", "mingw", "android", "iphoneos", function (package)
|
|
|
|
|
|
+ on_install(function (package)
|
|
local configs = {
|
|
local configs = {
|
|
dx9 = package:config("dx9"),
|
|
dx9 = package:config("dx9"),
|
|
dx10 = package:config("dx10"),
|
|
dx10 = package:config("dx10"),
|