I looked at this post: Using CMake to statically link to a library outside of the project. But I'm still having trouble interpreting what this means:
add_subdirectory(/path/to/the/library/source/directory subproject/grzeslib)
I'm assuming "/path/to/the/library/source/directory" means the path from the hard drive, but I don't understand what "subproject/grzeslib" means. Now I tried:
include_directories(../path/to/dir)
add_subdirectory (../path/to/dir .)
But I'm getting an elaborate warning. Is there a better way to do this?