diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-11-26 17:28:09 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-11-26 17:34:00 +0100 |
commit | 3cffd17b2b8d712c435bc19263d848ac190b23a8 (patch) | |
tree | cdc6b46112935c8327d3f47fe5448401dcba42f0 /src | |
parent | 6e8c5779cf960893850501e4871dc9be671db298 (diff) | |
download | rneovim-3cffd17b2b8d712c435bc19263d848ac190b23a8.tar.gz rneovim-3cffd17b2b8d712c435bc19263d848ac190b23a8.tar.bz2 rneovim-3cffd17b2b8d712c435bc19263d848ac190b23a8.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 988021ca7a..bc8e64dd41 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -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) |