[Cmake-commits] CMake branch, next, updated. v2.8.5-1634-g3bb8ce8
Alexander Neundorf
neundorf at kde.org
Wed Aug 17 16:51:31 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 3bb8ce85672404c1c8fa4900f00696d14b16a65a (commit)
via 301114994773e62b82965f3082fef6dd23532e60 (commit)
from 65dc7ab8d33095b78adf49035a31fbab5a028862 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3bb8ce85672404c1c8fa4900f00696d14b16a65a
commit 3bb8ce85672404c1c8fa4900f00696d14b16a65a
Merge: 65dc7ab 3011149
Author: Alexander Neundorf <neundorf at kde.org>
AuthorDate: Wed Aug 17 16:51:25 2011 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Aug 17 16:51:25 2011 -0400
Merge topic 'UsingCMakeLikePkgConfig2' into next
3011149 Make the test harder by always having a space in the include dirs
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=301114994773e62b82965f3082fef6dd23532e60
commit 301114994773e62b82965f3082fef6dd23532e60
Author: Alex Neundorf <neundorf at kde.org>
AuthorDate: Wed Aug 17 22:53:35 2011 +0200
Commit: Alex Neundorf <neundorf at kde.org>
CommitDate: Wed Aug 17 22:53:35 2011 +0200
Make the test harder by always having a space in the include dirs
The commit message for the previous commit was wrong, it should
have been: fix the test by using $(shell ...) syntax instead
of backticks in the Makefile.
With backticks I couldn't get the quoting right.
Printing -I"/some/path with space" did not work, the compiler
complained that there is not file "with". Also backslashes in
different numbers did not make it work.
Alex
diff --git a/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in b/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in
index c6230ab..dc62bac 100644
--- a/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in
+++ b/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in
@@ -3,6 +3,7 @@ find_library(FOO_LIBRARY NAMES foo HINTS "@CMAKE_CURRENT_BINARY_DIR@" )
find_path(FOO_INCLUDE_DIR NAMES foo.h HINTS "@CMAKE_CURRENT_SOURCE_DIR@" )
set(FOO_LIBRARIES ${FOO_LIBRARY})
+set(FOO_INCLUDE_DIRS "${FOO_INCLUDE_DIR}" "/some/path/with a space/include" )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Foo DEFAULT_MSG FOO_LIBRARY FOO_INCLUDE_DIR )
-----------------------------------------------------------------------
Summary of changes:
Tests/FindPackageModeMakefileTest/FindFoo.cmake.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list