[CMake] Library file not compiling

Tyler Roscoe tyler at cryptio.net
Wed Apr 8 11:35:29 EDT 2009


On Tue, Apr 07, 2009 at 08:30:19PM -0400, John Dey wrote:
> When I make from the root of the binary tree, I get the error below.   
> Yet when I go the subdirectory clthreads, make from that dir creates  
> the lib. Returning to the root and remaking eliminates the error.   
> 
> aeolus_build $ make
> make[2]: *** No rule to make target `clthreads/libclthreads.dylib',  
> needed by `Aeolus'.  Stop.
> make[1]: *** [CMakeFiles/Aeolus.dir/all] Error 2
> make: *** [all] Error 2

You probably need to post the relevant sections of the CMakeLists.txt
files to get more help. All I can tell you is that you should be able to
do this, and to make especially sure that you don't have any typos in
your variable names or anything like that.

tyler


More information about the CMake mailing list