[CMake] Cmake cannot find source file / Cmake can not determine
linker language
Dario Figueira
wurmdario at gmail.com
Fri Feb 29 11:21:08 EST 2008
Simply, in a subdirectory: ADD_LIBRARY (sift_h common.hxx)
and altho the file "common.hpp" is there, he returns
'Cmake cannot find source file ".../.../common.hxx" for target "sift_h"
tried extensions ... .hpp ...'
if i change the CMakeLists in that subdirectory to
ADD_LIBRARY (sift_h common.hpp)
he doesn't complain at first, but when "Ok" is clicked
'Cmake can not determine linker language for target:sift_h'
.. wth?
the CMakeLists in ROOT is
PROJECT (SIFT)
ADD_SUBDIRECTORY (includes)
ADD_EXECUTABLE (siftpp main.cpp)
TARGET_LINK_LIBRARIES (siftpp sift_h)
--
Dario Figueira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080229/ef93c765/attachment.htm
More information about the CMake
mailing list