[CMake] Problem in my proyect..
Luis Felipe Dominguez Vega
lfdominguez at estudiantes.uci.cu
Thu May 15 11:02:09 EDT 2014
Hello everyone, i need your help because cmake is show me this message:
*******************************************************************************
CMake Error in CDAUtils/src/CMakeLists.txt:
Target "escmga-siscp-utils" INTERFACE_INCLUDE_DIRECTORIES property contains path:
"/home/luis/TESTING NEW/IniFile/include/SISCP/Utils/INIFile/"
which is prefixed in the source directory.
********************************************************************************
this is because i'm testing a new method to interchange dependencies between projects
in example:
I have two projects A and B, B depends of A, but the order to configure in CMake is B->A.
In A i define some include dirs and save them into a variable, then in the source CMakeLists.txt
i used the "target_include_directories" to add to B the includes of A, but in this case CMake throw me
that error.....
So, how can i fix this, or if there is another way to do this...
General speaking, These projects are independent and when you compile them separately they find the dependencies with "find_package"
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".
VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio de 2014. Ver www.uci.cu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140515/1a82f1f9/attachment.html>
More information about the CMake
mailing list