<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hello<br>I have two directories. In the first directory I have static library which I want to use in my projects.<br>In the second directory is my main project which links to the static library. How to add the static library <br>to the main project cmakelists so when the static library is rebuilt and the main project is rebuilt too.<br>Which command to use for that , maybe FIND_PACKAGE .<br>There are many examples on web ,but can't figure out how to do this.<br>Thanks for your time<br><br><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>