Merge topic 'fix-FindPackageModeMakefileTest-Makefile'

dea71aae Tests: Fix find-package mode test.
This commit is contained in:
Brad King 2014-01-13 10:25:28 -05:00 committed by CMake Topic Stage
commit 0eadf2058c
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ CMAKE_FOO = $(CMAKE) --find-package -DCMAKE_MODULE_PATH=$(CMAKE_CURRENT_BINARY_D
tmp = tmp.txt
all: clean pngtest
all: pngtest
main.o: main.cpp
main.o: clean main.cpp
@$(CMAKE_FOO) -DMODE=COMPILE >$(tmp)
@foo="`cat $(tmp)`"; \
printf '"%s" %s %s -c main.cpp\n' $(CMAKE_CXX_COMPILER) "$(CXXFLAGS)" "$$foo" >$(tmp)