From 3a713159815ba64a9df63ecf5c55c41a69137deb Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Wed, 6 May 2020 18:57:30 -0600 Subject: [PATCH] Change cache dir --- src/sdl2/sdl2.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl2/sdl2.nim b/src/sdl2/sdl2.nim index 5f21ad1..5a7a08a 100644 --- a/src/sdl2/sdl2.nim +++ b/src/sdl2/sdl2.nim @@ -2,7 +2,7 @@ import os, strutils, strformat import nimterop/[cimport, build] const - SDLCacheDir* = currentSourcePath.parentDir().parentDir() / "build" #getProjectCacheDir("nimsdl2") + SDLCacheDir* = getProjectCacheDir("nimsdl2") baseDir = SDLCacheDir srcDir = (baseDir / "sdl2").sanitizePath buildDir = (srcDir / "build" / ".libs").sanitizePath