diff options
author | Jeremy W. Murphy <jeremy.william.murphy@gmail.com> | 2023-05-16 05:07:36 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 21:07:36 +0200 |
commit | 81c6b8823c1b58d7837e827bb1098aa5f9e5956b (patch) | |
tree | f32b43789880a8960d30e79a10217046c1ab4c01 /wepoll.h | |
parent | 4dee61c02cc777c306227cd8378767ad544ce8bf (diff) | |
download | libevent-81c6b8823c1b58d7837e827bb1098aa5f9e5956b.tar.gz |
cmake: Only use relative paths for install DESTINATION option (#1405)
As described in #1404, the explicit use of CMAKE_INSTALL_PREFIX conflicts with using command-line --prefix.
This simply removes all explicit use of CMAKE_INSTALL_PREFIX.
Otherwise this path will be duplicated:
$ cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_INSTALL_PREFIX=inst ..
$ DESTDIR=inst ninja install
...
-- Installing: inst/src/le/libevent/.cmake-debug/inst/include/event2/util.h
-- Installing: inst/src/le/libevent/.cmake-debug/inst/include/event2/ws.h
...
Fixes: #1404
Co-authored-by: Jeremy Murphy <jeremymu@blackmagicdesign.com>
Diffstat (limited to 'wepoll.h')
0 files changed, 0 insertions, 0 deletions