Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix mingw
  • Loading branch information
star-hengxing authored Oct 29, 2025
commit cf7ca2d66d11634f941d9bd773db677ed7a5b99a
3 changes: 1 addition & 2 deletions packages/p/pangolin/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ package("pangolin")
io.replace("components/pango_core/include/pangolin/factory/factory.h", "#include <map>", "#include <map>\n#include <cstdint>", {plain = true})

local glew = package:dep("glew")
if glew and not glew:config("shared") then
-- Only failed on mingw
if glew and not glew:config("shared") and package:is_plat("mingw") then
io.replace("components/pango_opengl/CMakeLists.txt",
"target_link_libraries(${COMPONENT} PUBLIC ${GLEW_LIBRARY})",
"target_link_libraries(${COMPONENT} PRIVATE ${GLEW_LIBRARY})", {plain = true})
Expand Down
Loading