Skip to content

Commit

Permalink
build: set libtermkey project language to C (neovim#22410)
Browse files Browse the repository at this point in the history
This will prevent cmake from failing the build if a C++ compiler isn't
found.
  • Loading branch information
dundargoc authored and yesean committed Mar 25, 2023
1 parent 17a56f3 commit 30e7d7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake.deps/cmake/LibvtermCMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10)
project(libvterm LANGUAGES C)
project(libvterm C)

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion cmake.deps/cmake/TreesitterCMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmake.deps/cmake/libtermkeyCMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 30e7d7c

Please sign in to comment.