diff options
author | Daniel Hahler <git@thequod.de> | 2019-08-07 22:19:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-07 22:19:55 +0200 |
commit | 6ebe476675923cdade0a460148209ee9f01c2fd6 (patch) | |
tree | 7bf6ff4526e0f3941bea938e2badf3a4b29943dd /cmake/FindMsgpack.cmake | |
parent | 0167c2e0c9d5bb90f1539f1780e2b986bbe75f11 (diff) | |
download | rneovim-6ebe476675923cdade0a460148209ee9f01c2fd6.tar.gz rneovim-6ebe476675923cdade0a460148209ee9f01c2fd6.tar.bz2 rneovim-6ebe476675923cdade0a460148209ee9f01c2fd6.zip |
build: clean up / remove X_USE_STATIC (#10713)
This was discouraged (as an option) in 5b5d353151 [1], not enabled/used by
default, and not working according to the comment in local.mk.example.
Taken out of https://github.com/neovim/neovim/pull/10395.
1: https://github.com/neovim/neovim/pull/2465
Diffstat (limited to 'cmake/FindMsgpack.cmake')
-rw-r--r-- | cmake/FindMsgpack.cmake | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cmake/FindMsgpack.cmake b/cmake/FindMsgpack.cmake index df4efa9c41..26eb19d498 100644 --- a/cmake/FindMsgpack.cmake +++ b/cmake/FindMsgpack.cmake @@ -26,13 +26,6 @@ else() set(MSGPACK_VERSION_STRING) endif() -# If we're asked to use static linkage, add libmsgpack{,c}.a as a preferred library name. -if(MSGPACK_USE_STATIC) - list(APPEND MSGPACK_NAMES - "${CMAKE_STATIC_LIBRARY_PREFIX}msgpackc${CMAKE_STATIC_LIBRARY_SUFFIX}" - "${CMAKE_STATIC_LIBRARY_PREFIX}msgpack${CMAKE_STATIC_LIBRARY_SUFFIX}") -endif() - if(MSVC) # The import library for the msgpack DLL has a different name list(APPEND MSGPACK_NAMES msgpackc_import) |