<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I'm getting in some trouble with a self linking directory under Linux here. In /home/, there is a sym-link "zam", linking to . (please don't ask me, why they created this one...)<br><br>Now I have a directory Test with a sub-directory Foo and the following CMakeLists.txt:<br><br>cmake_minimum_required(VERSION 2.6)<br>PROJECT (TEST)<br><br>ADD_SUBDIRECTORY(Foo)<br><br>ccmake now creates the following message:<br><br>CMake Error at CMakeLists.txt:4 (ADD_SUBDIRECTORY):<br>&nbsp;&nbsp; add_subdirectory not given a binary directory but the given source<br>&nbsp;&nbsp; directory "/home/zam/zam/zam/diablo/Test/Foo" is not a subdirectory of<br>&nbsp;&nbsp; "/home/zam/zam/diablo/Test".&nbsp; When specifying an out-of-tree source a<br>&nbsp;&nbsp; binary directory must be explicitly specified.<br><br>Any idea, why this is happening?<br><br>Best regards,<br>Andreas<br><br><br>                                               </body>
</html>