Angle brackets <> are for system files, use quotes instead. include_directories( ../peer ) #include "peer.h"
Regards, Juan On Thu, Aug 4, 2011 at 6:52 PM, J Decker <[email protected]> wrote: > #include "../peer/peer.h" ? > > include_directories( ../peer ) > #include <peer.h> > > > On Thu, Aug 4, 2011 at 4:48 PM, Vinay Raj Hampapur > <[email protected]> wrote: >> Hello, >> I'm new to CMake and am trying to include files present in a >> directory which is a sibling to my own. I want to acheive this by accessing >> the parent directory and then moving into the other child directory. >> Any help in this regard is greatly appreciated. >> >> Thanks, >> Vinay >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/CMake_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.cmake.org/mailman/listinfo/cmake >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
