From cdb5eecc6b3a78f22fe0be796e104d8bbc064d1e Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Sun, 16 Oct 2016 21:31:22 +0000 Subject: [PATCH] Enhancements to a contributed build script. --- contrib/cmake/macosx/generate | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/cmake/macosx/generate b/contrib/cmake/macosx/generate index f68b505d..b9818cbd 100755 --- a/contrib/cmake/macosx/generate +++ b/contrib/cmake/macosx/generate @@ -6,7 +6,9 @@ if [ -e src/actions.cpp -o -e ../src/actions.cpp ]; then if [ ! -e build ]; then mkdir build ; cd build ; fi if [ -e ../src/actions.cpp ]; then - cmake .. -G Xcode -DEXIV2_ENABLE_NLS=OFF -DCMAKE_BUILD_TYPE=Debug + rm -rf CMakeCache.txt + echo cmake .. -G Xcode -DEXIV2_ENABLE_NLS=OFF -DCMAKE_BUILD_TYPE=Debug "$@" + cmake .. -G Xcode -DEXIV2_ENABLE_NLS=OFF -DCMAKE_BUILD_TYPE=Debug "$@" fi if [ ! -e generate ]; then ln -s ../contrib/cmake/macosx/generate generate