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 os, strutils, strformat
|
||||
import os except findExe
|
||||
import strutils, strformat
|
||||
import nimterop / [cimport, build, globals]
|
||||
import nimterop / build / [tools, shell]
|
||||
|
||||
const
|
||||
ProjectCacheDir* = getProjectCacheDir("nimglew")
|
||||
|
|
@ -32,8 +34,9 @@ getHeader(
|
|||
"glew.h",
|
||||
dlurl = "https://github.com/nigels-com/glew/releases/download/glew-$1/glew-$1.zip",
|
||||
outdir = srcDir,
|
||||
altNames = "libGLEW,glew,libglew",
|
||||
altNames = "libGLEW,glew,libglew,libglew32",
|
||||
conFlags = flags,
|
||||
makeFlags = "glew.lib",
|
||||
buildTypes = [btAutoConf]
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue