summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageModeMakefileTest/Makefile.in
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-16 20:31:26 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-16 20:31:26 (GMT)
commit626fc717c6a6fb880053e645b3f12805f60c102a (patch)
tree45cd140bb45fc2f0585a41c074cb062e8ccdd91b /Tests/FindPackageModeMakefileTest/Makefile.in
parentec6982dc8cad04c72a6ab78b7f115ece65e812bd (diff)
downloadCMake-626fc717c6a6fb880053e645b3f12805f60c102a.zip
CMake-626fc717c6a6fb880053e645b3f12805f60c102a.tar.gz
CMake-626fc717c6a6fb880053e645b3f12805f60c102a.tar.bz2
Much improved test, should now be executed on all UNIXes
Instead of relying on that some development package is installed on the system, now a tiny library is built, which is the searched and used during the test. Alex
Diffstat (limited to 'Tests/FindPackageModeMakefileTest/Makefile.in')
-rw-r--r--Tests/FindPackageModeMakefileTest/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/FindPackageModeMakefileTest/Makefile.in b/Tests/FindPackageModeMakefileTest/Makefile.in
index 5e42305..6bcd9b6 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 -DNAME=PNG -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=COMPILE` 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
pngtest: main.o
- "@CMAKE_CXX_COMPILER@" -o pngtest main.o `"@cmakeExecutable@" --find-package -DNAME=PNG -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=LINK`
+ "@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`
clean:
rm -f *.o pngtest