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