cmake: do not look for graphical libs when not building radiant
[xonotic/netradiant.git] / mingw-Makefile.conf
index 4d335c4..a128182 100644 (file)
@@ -3,10 +3,16 @@
 # edit the paths in here
 
 # how to get pkg-config
-PKGCONFIG = $(RADIANT_DEPENDENCIES_PREFIX)/gtk/bin/pkg-config.exe
+PKGCONFIG ?= $(RADIANT_DEPENDENCIES_PREFIX)/gtk/bin/pkg-config.exe
 
 # extra utils
-PATH := $(PATH):$(RADIANT_DEPENDENCIES_PREFIX)/util/bin
+GIT ?= $(RADIANT_DEPENDENCIES_PREFIX)/util/bin/git
+SVN ?= $(RADIANT_DEPENDENCIES_PREFIX)/util/bin/svn
+
+# 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