diff options
author | Daniel Hahler <git@thequod.de> | 2019-09-06 20:36:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-06 20:36:05 +0200 |
commit | 8db62ac57d230ee7c528e09c88ae0a2a52c5b5f2 (patch) | |
tree | bf673c87bdfc07ecea73a66719b0f233e2e6e9f4 /src | |
parent | fd4636f1b920d0063f8fbe4cfa1695f9fd46971f (diff) | |
download | rneovim-8db62ac57d230ee7c528e09c88ae0a2a52c5b5f2.tar.gz rneovim-8db62ac57d230ee7c528e09c88ae0a2a52c5b5f2.tar.bz2 rneovim-8db62ac57d230ee7c528e09c88ae0a2a52c5b5f2.zip |
build: cmake: GetCompileFlags: include CMAKE_C_FLAGS (#10957)
Calls `GetCompileFlags` from `src/nvim` directory, to include
`--coverage` (and any others).
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 39240823f6..aa8100873b 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -679,3 +679,6 @@ add_custom_target(generated-sources DEPENDS ) add_subdirectory(po) + +include(GetCompileFlags) +get_compile_flags(NVIM_VERSION_CFLAGS) |