<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transational//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
</HEAD>
<BODY><br>I am new with kdevelop and cmake so apologize for this pretty naive question, I create in kdevelop a proj3 project and want to link a library so I create a second project projA within the proj3 directory<br><br>the projA CMakelist is <br><br>project(proja)<br>set( lib_SOURCES Execute_Msg.cpp )<br>add_library(proja ${lib_SOURCES} )<br><br>the proj3 CMakelist is<br><br>cmake_minimum_required(VERSION 2.8)<br>project(proj3)<br>link_directories(/pascal/pKD3/proj3/projA/build)<br>add_executable(proj3 main.cpp)<br>target_link_libraries(proj3 libproja)<br><br>there is a libproja file in the /pascal/pKD3/proj3/projA/build directory, so I don't understand why I get the message /usr/bin/ld: cannot find -llibproja<br><br>thanks for help<br><br></BODY></HTML>