mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-01-17 22:11:51 +00:00
chore: fix build on linux
This commit is contained in:
@@ -39,6 +39,11 @@ function ModMan:project()
|
||||
includedirs {
|
||||
"%{prj.location}"
|
||||
}
|
||||
|
||||
filter { "system:linux", "action:gmake" }
|
||||
buildoptions { "`pkg-config --cflags gtk4 webkitgtk-6.0`" }
|
||||
linkoptions { "`pkg-config --libs gtk4 webkitgtk-6.0`" }
|
||||
filter {}
|
||||
|
||||
self:include(includes)
|
||||
webview:include(includes)
|
||||
|
||||
@@ -53,7 +53,9 @@ int main()
|
||||
},
|
||||
nullptr);
|
||||
|
||||
#if defined(WEBVIEW_PLATFORM_WINDOWS) && defined(WEBVIEW_EDGE)
|
||||
edge::InstallCustomProtocolHandler(w);
|
||||
#endif
|
||||
|
||||
w.navigate("http://modman/index.html");
|
||||
w.run();
|
||||
|
||||
Reference in New Issue
Block a user