Fix for windows
This commit is contained in:
parent
c33022bf79
commit
40cc383370
1 changed files with 6 additions and 3 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
import macros
|
import macros
|
||||||
import os, strutils, strformat
|
import os except findExe
|
||||||
import nimterop/[cimport, build, globals]
|
import strutils, strformat
|
||||||
|
import nimterop / [cimport, build, globals]
|
||||||
|
import nimterop / build / [tools, shell]
|
||||||
|
|
||||||
const
|
const
|
||||||
ProjectCacheDir* = getProjectCacheDir("nimglew")
|
ProjectCacheDir* = getProjectCacheDir("nimglew")
|
||||||
|
|
@ -32,8 +34,9 @@ getHeader(
|
||||||
"glew.h",
|
"glew.h",
|
||||||
dlurl = "https://github.com/nigels-com/glew/releases/download/glew-$1/glew-$1.zip",
|
dlurl = "https://github.com/nigels-com/glew/releases/download/glew-$1/glew-$1.zip",
|
||||||
outdir = srcDir,
|
outdir = srcDir,
|
||||||
altNames = "libGLEW,glew,libglew",
|
altNames = "libGLEW,glew,libglew,libglew32",
|
||||||
conFlags = flags,
|
conFlags = flags,
|
||||||
|
makeFlags = "glew.lib",
|
||||||
buildTypes = [btAutoConf]
|
buildTypes = [btAutoConf]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue