On Friday 17 May 2013 11:09:11 Robert Maynard wrote: > On behalf of myself, Ken, Bill, Brad, David, Alex, Eike, Steve, Eric, > Zach, Ben and the rest of the CMake team from all around the world, we > are pleased to announce that CMake 2.8.11 is now available for > download at: > http://www.cmake.org/files/v2.8/?C=M;O=D > [cut]
Looks like a tiny regression was introduced: when an include dir doesn't exist
a bogus include is added instead.
a small test is attached. FindGpgme.cmake comes from kdepimlibs. With my
current version, gpgme-config --cflags doesn't return anything. As a result,
${GPGME_INCLUDES} is also empty.
Now, when building with CMake 2.8.11 I get this:
[cut] -I/kde/build/test -I/kde/src/test -I"/kde/src/test/ " -
I/kde/inst/kdelibs/include -I/kde/inst/kdelibs/include/KDE [cut]
-o CMakeFiles/hello.dir/main.cpp.o -c /kde/src/test/main.cpp
##<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
cc1plus: warning: /kde/src/test/ : No such file or directory [enabled by
default]
Notice the -I"/kde/src/test/ " ie "${CMAKE_SOURCE_DIR}/<empty space>"
The same test with 2.8.10:
[cut] -I/kde/build/test -I/kde/src/test -I/kde/inst/kdelibs/include -
I/kde/inst/kdelibs/include/KDE [cut] -o CMakeFiles/hello.dir/main.cpp.o -c
/kde/src/test/main.cpp
afaict, I'm not able to reproduce the issue with the cmake dev branch but
didn't find any commit fixing this.
Christophe
test.tar.gz
Description: application/compressed-tar
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
