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
This commit is contained in:
parent
626fc717c6
commit
ab57ff6156
|
@ -1,10 +1,10 @@
|
||||||
all: clean pngtest
|
all: clean pngtest
|
||||||
|
|
||||||
main.o: main.cpp
|
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
|
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:
|
clean:
|
||||||
rm -f *.o pngtest
|
rm -f *.o pngtest
|
||||||
|
|
Loading…
Reference in New Issue