diff --git a/src/raylib.nim b/src/raylib.nim index cc5a122..8a5b845 100644 --- a/src/raylib.nim +++ b/src/raylib.nim @@ -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".} diff --git a/tools/wrapper/snippets/raylib_header.nim b/tools/wrapper/snippets/raylib_header.nim index 5d0cd17..eb77c3f 100644 --- a/tools/wrapper/snippets/raylib_header.nim +++ b/tools/wrapper/snippets/raylib_header.nim @@ -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".}