diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-26 13:32:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 13:32:37 +0100 |
commit | aaea48aac6e227314ec08acec2a4c3c84538cab8 (patch) | |
tree | 1f0d3c7f56377e3e9890a5e2ad177aebd291b49f | |
parent | f3476f2f99debdd7d736d4f3ef9d6219ee18f660 (diff) | |
download | rneovim-aaea48aac6e227314ec08acec2a4c3c84538cab8.tar.gz rneovim-aaea48aac6e227314ec08acec2a4c3c84538cab8.tar.bz2 rneovim-aaea48aac6e227314ec08acec2a4c3c84538cab8.zip |
build: set libtermkey project language to C (#22410)
This will prevent cmake from failing the build if a C++ compiler isn't
found.
-rw-r--r-- | cmake.deps/cmake/LibvtermCMakeLists.txt | 2 | ||||
-rw-r--r-- | cmake.deps/cmake/TreesitterCMakeLists.txt | 2 | ||||
-rw-r--r-- | cmake.deps/cmake/libtermkeyCMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cmake.deps/cmake/LibvtermCMakeLists.txt b/cmake.deps/cmake/LibvtermCMakeLists.txt index 777ce6c54c..0fb3227117 100644 --- a/cmake.deps/cmake/LibvtermCMakeLists.txt +++ b/cmake.deps/cmake/LibvtermCMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10) -project(libvterm LANGUAGES C) +project(libvterm C) include(GNUInstallDirs) diff --git a/cmake.deps/cmake/TreesitterCMakeLists.txt b/cmake.deps/cmake/TreesitterCMakeLists.txt index 49fb19c96a..9017436ef5 100644 --- a/cmake.deps/cmake/TreesitterCMakeLists.txt +++ b/cmake.deps/cmake/TreesitterCMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10) -project(tree-sitter LANGUAGES C) +project(tree-sitter C) add_library(tree-sitter lib/src/lib.c) target_include_directories(tree-sitter diff --git a/cmake.deps/cmake/libtermkeyCMakeLists.txt b/cmake.deps/cmake/libtermkeyCMakeLists.txt index 26c9d7730b..95d4a54549 100644 --- a/cmake.deps/cmake/libtermkeyCMakeLists.txt +++ b/cmake.deps/cmake/libtermkeyCMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10) -project(libtermkey) +project(libtermkey C) add_definitions(-D _CRT_SECURE_NO_WARNINGS) add_definitions(-DHAVE_UNIBILIUM) |