Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing authored Nov 15, 2024
1 parent f7989e7 commit 99b9332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/s/soil2/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ package("soil2")
end

-- TODO: fix glXGetProcAddress on linux
on_install("!android and !wasm and !cross and !iphoneos and !linux and !bsd", function (package)
on_install("windows", "macosx", "mingw", "msys", function (package)
io.replace("CMakeLists.txt", "$<$<CXX_COMPILER_ID:Clang>:-fPIC>", "", {plain = true})
io.replace("CMakeLists.txt", "$<$<CXX_COMPILER_ID:GNU>:-fPIC>", "", {plain = true})

Expand Down

0 comments on commit 99b9332

Please sign in to comment.