I am not sure I understand why I am having this problem..
but cmake seem to have some problems with finding the header file located in a 
different project. 

tree view of my system: https://pastebin.com/AvydEbeW

I’ve included the directory to the project which header files I am interested 
in, and also added the path in my 
target_inlcude_directories. The problems is my database.h cannot see record.h.

database/CmakeLists.txt:

https://pastebin.com/DpcMjtMa

The weird part is that it sometimes is able to compile, and other times it get 
stuck with this not able to find the header?

what could the problem be?




-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to