aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindMsgpack.cmake
Commit message (Collapse)AuthorAge
* cmake: Use find_package(Msgpack)'s version in pkg_search_moduleJames McCoy2016-02-05
| | | | | Avoid duplicating information by using the Msgpack_FIND_VERSION variable exported by find_package() inside FindMsgpack's pkg_search_module call.
* cmake: msgpack: Check all lib names per directoryJames McCoy2016-02-05
| | | | | | | By default, find_library() searches all directories for one possible name and then looks for the next name. To make sure we're building against the same headers and libraries, look for all names in a directory before moving to the next one.
* cmake: msgpack: Add more thorough version checkJames McCoy2016-02-05
| | | | | | | | | | In 33bc332, version constraints were added to pkg_search_module(), but that only affects the set of directories searched by find_library()/find_path(). Once the header directory is found, parse the version from version_master.h so it can be checked by the find_package() call in the root CMakeLists.txt.
* cmake: msgpack: Ensure at least version 1.0 is foundJames McCoy2016-01-28
| | | | | | Neovim's code relies on functionality introduced in msgpack-c 1.0.0 (at least MSGPACK_OBJECT_FLOAT enum value), so enforce that minimum version.
* cmake: Search for both libmsgpackc and libmsgpack #4075James McCoy2016-01-22
| | | | | | | | | | | | | | | libmsgpack was the old C++ library provided by msgpack-c. The C library is libmsgpackc. The C++ support became header-only, but there was a bug (msgpack/msgpack-c#395) wherein using msgpack-c's CMake build system would only install libmsgpack instead of libmsgpackc. Searching for both libraries, but preferring libmsgpackc, allows for building against older msgpack-c releases and prepares for the upcoming msgpack-c release which fixes the aforementioned issues. Signed-off-by: James McCoy <jamessan@jamessan.com>
* CMake: Remove duplicate PkgConfig lookups.Florian Walch2015-04-29
|
* deps: Update to the experimental msgpack v5 branchThiago de Arruda2014-09-12
| | | | | | | | Using msgpack v5 will let nvim be more compatible with msgpack libraries for other platforms. This also replaces "raw" references by "bin" which is the new name for msgpack binary data type
* Removed unnecessary PATHS from cmake modulesRui Abreu Ferreira2014-07-08
| | | | | - DEPS_INSTALL_DIR is already set into CMAKE_PREFIX_PATH in the main CMakeLists.txt
* Add cmake module for finding msgpackThiago de Arruda2014-04-11