kc3-lang/libevent/cmake/AddEventLibrary.cmake

Branch :


Log

Author Commit Date CI Message
0fa43c99 2018-04-05 15:17:06 cmake: ensure windows dll's are installed as well as lib files Closes: #621
b1e8a413 2017-03-14 13:33:31 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)")
882f537c 2017-03-13 21:40:52 cmake: fix pkgconfig generation (copy-paste typo)
fd5a3fc0 2017-03-13 03:18:02 cmake: fix export absolute path and relative path and cleanup a bit Remove next vars, since I don't think that somebody want to change it: - bin - lib - include And fix exports problem: CMake Error: INSTALL(EXPORT "LibeventTargets") given absolute DESTINATION "/usr/lib/cmake/libevent" but the export references an installation of target "event_core_static" which has relative DESTINATION "lib".
86c73575 2017-03-13 02:26:39 cmake: generate and install pkgconfig files Fixes: #443
7182c2f5 2017-03-12 23:31:59 cmake: build SHARED and STATIC libraries (like autoconf does) Since they are useful for debugging, and if autotools build them then cmamke has to do this too, to make migration more simple. And now: - tests: uses shared libraries (since this is upstreams one) - other binaries: uses static libraries This removes next private config: - EVENT__NEED_DLLIMPORT