cmake: do not look for graphical libs when not building radiant
[xonotic/netradiant.git] / mingw-Makefile.conf
index cdaa44f..a128182 100644 (file)
@@ -7,9 +7,12 @@ PKGCONFIG ?= $(RADIANT_DEPENDENCIES_PREFIX)/gtk/bin/pkg-config.exe
 
 # extra utils
 GIT ?= $(RADIANT_DEPENDENCIES_PREFIX)/util/bin/git
-WGET ?= $(RADIANT_DEPENDENCIES_PREFIX)/util/bin/wget
 SVN ?= $(RADIANT_DEPENDENCIES_PREFIX)/util/bin/svn
-UNZIPPER ?= $(RADIANT_DEPENDENCIES_PREFIX)/util/bin/unzip
+
+# these two need the "start" workaround, or they seem to crash (TODO figure out why)
+WGET ?= start $(RADIANT_DEPENDENCIES_PREFIX)/util/bin/wget
+UNZIPPER ?= start $(RADIANT_DEPENDENCIES_PREFIX)/util/bin/unzip
 
 # use mingw32
 include mingw-Makefile.inc
+include mingw-radiantdeps-Makefile.inc