summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageModeMakefileTest
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-14 13:38:24 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-14 13:38:24 (GMT)
commit6bb4ca3802d2fc83f1072adfde6f1075aa2992c4 (patch)
treec4f71770c94cbfdfe0557abfb2ce67b4c28467a8 /Tests/FindPackageModeMakefileTest
parentfd15b5e1c425b0e2cb418e87a115215b0aa7501a (diff)
downloadCMake-6bb4ca3802d2fc83f1072adfde6f1075aa2992c4.zip
CMake-6bb4ca3802d2fc83f1072adfde6f1075aa2992c4.tar.gz
CMake-6bb4ca3802d2fc83f1072adfde6f1075aa2992c4.tar.bz2
The makefile for the test was kindof wrong
Alex
Diffstat (limited to 'Tests/FindPackageModeMakefileTest')
-rw-r--r--Tests/FindPackageModeMakefileTest/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/FindPackageModeMakefileTest/Makefile.in b/Tests/FindPackageModeMakefileTest/Makefile.in
index 5105d99..5e42305 100644
--- a/Tests/FindPackageModeMakefileTest/Makefile.in
+++ b/Tests/FindPackageModeMakefileTest/Makefile.in
@@ -1,7 +1,9 @@
all: clean pngtest
-pngtest: main.o
+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
+
+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`
clean: