Skip to content

Commit cf7ca2d

Browse files
fix mingw
1 parent 0917e7e commit cf7ca2d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/p/pangolin/xmake.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ package("pangolin")
118118
io.replace("components/pango_core/include/pangolin/factory/factory.h", "#include <map>", "#include <map>\n#include <cstdint>", {plain = true})
119119

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

0 commit comments

Comments
 (0)