diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-08-17 20:51:57 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-08-17 20:51:57 (GMT) |
commit | ab57ff6156a725664fce995a9460de839018405c (patch) | |
tree | d1ad9518074d01b62d874042af90c7e9a20efd25 /Tests | |
parent | 626fc717c6a6fb880053e645b3f12805f60c102a (diff) | |
download | CMake-ab57ff6156a725664fce995a9460de839018405c.zip CMake-ab57ff6156a725664fce995a9460de839018405c.tar.gz CMake-ab57ff6156a725664fce995a9460de839018405c.tar.bz2 |
Make the --find-package test harder
Now it is guaranteed that the include paths always contain a space.
This should make the cont. build fail.
Alex
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/FindPackageModeMakefileTest/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/FindPackageModeMakefileTest/Makefile.in b/Tests/FindPackageModeMakefileTest/Makefile.in index 6bcd9b6..2d4301a 100644 --- a/Tests/FindPackageModeMakefileTest/Makefile.in +++ b/Tests/FindPackageModeMakefileTest/Makefile.in @@ -1,10 +1,10 @@ all: clean pngtest main.o: main.cpp - "@CMAKE_CXX_COMPILER@" -c `"@cmakeExecutable@" --find-package -DCMAKE_MODULE_PATH="@CMAKE_CURRENT_BINARY_DIR@" -DNAME=Foo -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=COMPILE` main.cpp + "@CMAKE_CXX_COMPILER@" -c $(shell "@cmakeExecutable@" --find-package -DCMAKE_MODULE_PATH="@CMAKE_CURRENT_BINARY_DIR@" -DNAME=Foo -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=COMPILE) main.cpp pngtest: main.o - "@CMAKE_CXX_COMPILER@" -o pngtest main.o `"@cmakeExecutable@" --find-package -DCMAKE_MODULE_PATH="@CMAKE_CURRENT_BINARY_DIR@" -DNAME=Foo -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=LINK` + "@CMAKE_CXX_COMPILER@" -o pngtest main.o $(shell "@cmakeExecutable@" --find-package -DCMAKE_MODULE_PATH="@CMAKE_CURRENT_BINARY_DIR@" -DNAME=Foo -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=LINK) clean: rm -f *.o pngtest |