]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed cmake test
authorYann Collet <yann.collet.73@gmail.com>
Mon, 19 Sep 2016 14:55:35 +0000 (16:55 +0200)
committerYann Collet <yann.collet.73@gmail.com>
Mon, 19 Sep 2016 14:55:35 +0000 (16:55 +0200)
Makefile

index b50723e850f4e5ca409198eec65257954f12dc75..2e5eada0f39d06359cafd1f9278881f157e84712 100644 (file)
--- 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