Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
planetis-m committed Nov 18, 2024
1 parent e47effd commit a15f1dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/raylib.nim
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import std/[assertions, paths]
const raylibDir = currentSourcePath().Path.parentDir / Path"raylib"

{.passC: "-I" & raylibDir.string.}
{.passC: "-I" & string(raylibDir / Path"external").}
{.passC: "-I" & string(raylibDir / Path"external/glfw/include").}
{.passC: "-I" & string(raylibDir / Path"external/glfw/deps/mingw").}
{.passC: "-Wall -D_GNU_SOURCE -Wno-missing-braces -Werror=pointer-arith".}
Expand Down
1 change: 1 addition & 0 deletions tools/wrapper/snippets/raylib_header.nim
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import std/[assertions, paths]
const raylibDir = currentSourcePath().Path.parentDir / Path"raylib"

{.passC: "-I" & raylibDir.string.}
{.passC: "-I" & string(raylibDir / Path"external").}
{.passC: "-I" & string(raylibDir / Path"external/glfw/include").}
{.passC: "-I" & string(raylibDir / Path"external/glfw/deps/mingw").}
{.passC: "-Wall -D_GNU_SOURCE -Wno-missing-braces -Werror=pointer-arith".}
Expand Down

0 comments on commit a15f1dd

Please sign in to comment.