mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
cmake: enable exporting symbols from static libs again
Reverts the effect of disabling CMP0065 in ac32426
(#11131)
"build: get rid of warnings with `cmake --debug-output`"
We need symbols from statically linked libraries to be exported.
Otherwise cpath lua modules will not find liblua/libluajit
symbols as needed.
This commit is contained in:
@@ -465,6 +465,7 @@ install_helper(TARGETS nvim)
|
||||
|
||||
set_property(TARGET nvim APPEND PROPERTY
|
||||
INCLUDE_DIRECTORIES ${LUA_PREFERRED_INCLUDE_DIRS})
|
||||
set_property(TARGET nvim PROPERTY ENABLE_EXPORTS TRUE)
|
||||
|
||||
if(ENABLE_LTO AND (POLICY CMP0069))
|
||||
include(CheckIPOSupported)
|
||||
|
Reference in New Issue
Block a user