From: Yann Collet Date: Mon, 19 Sep 2016 14:55:35 +0000 (+0200) Subject: fixed cmake test X-Git-Tag: v1.1.0~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0704df3259e762638b610b9e0e008d9cd5898b59;p=thirdparty%2Fzstd.git fixed cmake test --- diff --git a/Makefile b/Makefile index b50723e85..2e5eada0f 100644 --- a/Makefile +++ b/Makefile @@ -122,9 +122,9 @@ endif ifneq (,$(filter $(HOST_OS),MSYS POSIX)) cmaketest: cmake --version - $(RM) -r $(BUILDDIR)/cmake/build - mkdir $(BUILDDIR)/cmake/build - cd $(BUILDDIR)/cmake/build ; cmake -DPREFIX:STRING=~/install_test_dir $(CMAKE_PARAMS) .. ; $(MAKE) install ; $(MAKE) uninstall + $(RM) -r $(BUILDIR)/cmake/build + mkdir $(BUILDIR)/cmake/build + cd $(BUILDIR)/cmake/build ; cmake -DPREFIX:STRING=~/install_test_dir $(CMAKE_PARAMS) .. ; $(MAKE) install ; $(MAKE) uninstall c90test: clean CFLAGS="-std=c90" $(MAKE) all # will fail, due to // and long long