<html><body><div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000"><div>Hello everyone, i need your help because cmake is show me this message:</div><div><br></div><div>*******************************************************************************</div><div><p style="margin: 0px;" data-mce-style="margin: 0px;">CMake Error in CDAUtils/src/CMakeLists.txt:<br>      Target "escmga-siscp-utils" INTERFACE_INCLUDE_DIRECTORIES property contains path:</p><p style="margin: 0px;" data-mce-style="margin: 0px;">           "/home/luis/TESTING NEW/IniFile/include/SISCP/Utils/INIFile/"</p><p style="margin: 0px;" data-mce-style="margin: 0px;">      which is prefixed in the source directory.</p><p style="margin: 0px;" data-mce-style="margin: 0px;">********************************************************************************</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;">this is because i'm testing a new method to interchange dependencies between projects</p><p style="margin: 0px;" data-mce-style="margin: 0px;">in example:</p><p style="margin: 0px;" data-mce-style="margin: 0px;">I have two projects A and B, B depends of A, but the order to configure in CMake is B->A.</p><p style="margin: 0px;" data-mce-style="margin: 0px;">In A i define some include dirs and save them into a variable, then in the source CMakeLists.txt</p><p style="margin: 0px;" data-mce-style="margin: 0px;">i used the<strong> "target_include_directories" </strong>to add to B the includes of A, but in this case CMake throw me</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span data-mce-bogus="1">that error.....</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span data-mce-bogus="1"><br></span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span data-mce-bogus="1">So, how can i fix this, or if there is another way to do this...</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span data-mce-bogus="1"><br></span></p><p style="margin: 0px;" data-mce-style="margin: 0px;">General speaking, These projects are independent and when you compile them separately they find the dependencies with "find_package"</p><p style="margin: 0px;" data-mce-style="margin: 0px;">but when i make a Global Cmake to compile them together i set a variable "GLOBAL_COMPILING" to tell hem that not find with "find_package".</p></div></div>
<br><html><body><hr align=LEFT size=1 width=630 color=Black noshade><p>VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio de 2014. Ver <a href=http://www.uci.cu/> www.uci.cu </a></body></html>

<br></body></html>