[CMake] How to set path to library header files?

Chris Johnson cxjohnson at gmail.com
Tue Dec 2 12:06:01 EST 2014


Just for completeness.

File prog/prog.cpp:

#include "mylib/myfunc.h"

int
main(int argc, char** argv)
{
    return myfunc();
}


File mylib/myfunc.h:
int myfunc();


And file mylib/myfunc.cpp:
#include "myfunc.h"

int
myfunc()
{
return 1;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141202/a3b9a98a/attachment.html>


More information about the CMake mailing list