diff options
author | Matthias Treydte <mt@waldheinz.de> | 2014-06-23 14:24:46 +0200 |
---|---|---|
committer | Matthias Treydte <mt@waldheinz.de> | 2014-06-23 18:23:45 +0200 |
commit | 57fcf68844f2091d64187544c1f5b27f0fc5219e (patch) | |
tree | 6040c26982841558fe39c64de731c340190f7507 /common/lzodefs.h | |
parent | 8c21b31cefc73d5da230deffe0b3a292f1b24b7a (diff) | |
download | libtdevnc-57fcf68844f2091d64187544c1f5b27f0fc5219e.tar.gz libtdevnc-57fcf68844f2091d64187544c1f5b27f0fc5219e.zip |
Use CMAKE_CURRENT_*_DIR instead of CMAKE_*_DIR.
This makes the library friendly to use as a git submodule within another
project, and should change nothing when compiled alone.
For example when having a directory structure like "my_project/external/libvnc",
where in libvnc resides a checkout of libvncserver, one can just reference that
directory from the CMakeLists.txt in my_project with
> add_directory ( external/libvnc )
and add vncclient / vncserver in my_project's taret_link_libraries, one can just
hack away without having to manually make / install LibVNCServer whenever
something is changed there.
Diffstat (limited to 'common/lzodefs.h')
0 files changed, 0 insertions, 0 deletions