Filipe Sousa wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brad King wrote:

Filipe Sousa wrote:

QtCanvas\CMakeFiles\QtCanvas.dir\c:\devel\PndK\QtCanvas\qtcanvas.obj: 
QtCanvas\CMakeFiles\QtCanvas.dir\flags.make
QtCanvas\CMakeFiles\QtCanvas.dir\c:\devel\PndK\QtCanvas\qtcanvas.obj: 
..\..\devel\PndK\QtCanvas\qtcanvas.cpp

Okay, I've committed a fix to avoid this error in general but I'd like to make sure there is not another bug that exposed this one. Where is the CMakeLists.txt file that added the qtcanvas.cpp source file to a target (full path on your disk)? Was the file added as a full path or with just a name?

Just a name. I'm sending the CMakeLists for this structure:
[snip]
PROJECT(QtCanvas)

SET(QT_CANVAS_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH "QtCanvas include 
directory")
SET(QT_CANVAS_LIB QtCanvas CACHE STRING "QtCanvasLibrary")
MARK_AS_ADVANCED(QT_CANVAS_INCLUDE_DIR QT_CANVAS_LIB)

SET(QT_CONFIG GUI)
QT_ADD_LIBRARY(QtCanvas STATIC qtcanvas.h qtcanvas.cpp)

Please try updating CMake again and send me the new build.make it generates for QtCanvas.

Thanks,
-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to