aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/CMakeLists.txt3
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)