1
0
Fork 0

Abort if the propper cmake isn't there.

This commit is contained in:
Willi Goesgens 2015-02-11 13:21:28 +01:00
parent 442b716d75
commit 11ccf33128
1 changed files with 8 additions and 1 deletions

View File

@ -250,7 +250,7 @@ pack-winXX-MOREOPTS:
${MAKE} pack-winXX-cmake BITS="$(BITS)" TARGET="$(TARGET)" VERSION="`awk '{print substr($$3,2,length($$3)-2);}' build.h`" MOREOPTS=$(MOREOPTS)
${MAKE} pack-winXX-build BITS="$(BITS)" TARGET="$(TARGET)" BUILD_TARGET=Debug
pack-winXX-cmake:
pack-winXX-cmake: checkcmake
cd Build$(BITS) && cmake \
-G "$(TARGET)" \
-D "ARANGODB_VERSION=${VERSION}" \
@ -271,6 +271,13 @@ pack-winXX-build:
./Installation/Windows/installer-generator.sh $(BITS) $(shell pwd)
checkcmake:
if test -z "`cmake --help |grep -i visual`"; then \
echo "Your cmake is not sufficient; it lacks support for visual studio." ; \
exit 1; \
fi
################################################################################
### @brief generates a tar archive
################################################################################