mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build: fix a problem with the static library name (#12591)
Fix the problem that the static library name was liblibnvim.a in the
environment other than Windows due to the change of bf58c00
.
This commit is contained in:
parent
daa5bffd93
commit
02bbb8c45b
@ -570,10 +570,16 @@ add_library(
|
||||
)
|
||||
set_property(TARGET libnvim APPEND PROPERTY
|
||||
INCLUDE_DIRECTORIES ${LUA_PREFERRED_INCLUDE_DIRS})
|
||||
if(MSVC)
|
||||
set(LIBNVIM_NAME libnvim)
|
||||
else()
|
||||
set(LIBNVIM_NAME nvim)
|
||||
endif()
|
||||
set_target_properties(
|
||||
libnvim
|
||||
PROPERTIES
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
OUTPUT_NAME ${LIBNVIM_NAME}
|
||||
)
|
||||
set_property(
|
||||
TARGET libnvim
|
||||
|
Loading…
Reference in New Issue
Block a user