]> granicus.if.org Git - libevent/commit
cmake: use APPEND during exporting targets (for old cmake)
authorAzat Khuzhin <a3at.mail@gmail.com>
Tue, 14 Mar 2017 10:33:31 +0000 (13:33 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Tue, 14 Mar 2017 10:37:59 +0000 (13:37 +0300)
commitb1e8a4138f0da3c8a4bc303ff72b620b41c066d6
tree02548607a77f447f210de94ff48abd2230b15301
parentd84f0205453941235b0e04729098d4329c189bba
cmake: use APPEND during exporting targets (for old cmake)

On centos with cmake 2.8.12.2:
  CMake Error at cmake/AddEventLibrary.cmake:92 (export):
    export called with target "event_extra_shared" which requires target
    "event_core_shared" that is not in the export list.

    If the required target is not easy to reference in this call, consider
    using the APPEND option with multiple separate calls.

But on newer cmake I guess everything is ok.

Fixes: 7182c2f561570cd9ceb704623ebe9ae3608c7b43 ("cmake: build SHARED
and STATIC libraries (like autoconf does)")
cmake/AddEventLibrary.cmake