mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
third-party: use CXX only for BuildGperf (#10512)
This allows to build deps without g++ when not using the bundled gperf. > make deps DEPS_CMAKE_FLAGS='-DUSE_BUNDLED_GPERF=0'
This commit is contained in:
parent
519382646b
commit
31f879983f
@ -138,7 +138,6 @@ addons:
|
|||||||
- clang-4.0
|
- clang-4.0
|
||||||
- cmake
|
- cmake
|
||||||
- cscope
|
- cscope
|
||||||
- g++-multilib
|
|
||||||
- gcc-multilib
|
- gcc-multilib
|
||||||
- gdb
|
- gdb
|
||||||
- gperf
|
- gperf
|
||||||
|
2
third-party/CMakeLists.txt
vendored
2
third-party/CMakeLists.txt
vendored
@ -1,6 +1,6 @@
|
|||||||
# This is not meant to be included by the top-level.
|
# This is not meant to be included by the top-level.
|
||||||
cmake_minimum_required (VERSION 2.8.12)
|
cmake_minimum_required (VERSION 2.8.12)
|
||||||
project(NVIM_DEPS)
|
project(NVIM_DEPS C)
|
||||||
|
|
||||||
# Needed for: check_c_compiler_flag()
|
# Needed for: check_c_compiler_flag()
|
||||||
include(CheckCCompilerFlag)
|
include(CheckCCompilerFlag)
|
||||||
|
1
third-party/cmake/BuildGperf.cmake
vendored
1
third-party/cmake/BuildGperf.cmake
vendored
@ -2,6 +2,7 @@
|
|||||||
# cross compiling we still want to build for the HOST system, whenever
|
# cross compiling we still want to build for the HOST system, whenever
|
||||||
# writing a recipe that is meant for cross-compile, use the HOSTDEPS_* variables
|
# writing a recipe that is meant for cross-compile, use the HOSTDEPS_* variables
|
||||||
# instead of DEPS_* - check the main CMakeLists.txt for a list.
|
# instead of DEPS_* - check the main CMakeLists.txt for a list.
|
||||||
|
enable_language(CXX)
|
||||||
|
|
||||||
# BuildGperf(CONFIGURE_COMMAND ... BUILD_COMMAND ... INSTALL_COMMAND ...)
|
# BuildGperf(CONFIGURE_COMMAND ... BUILD_COMMAND ... INSTALL_COMMAND ...)
|
||||||
# Reusable function to build Gperf, wraps ExternalProject_Add.
|
# Reusable function to build Gperf, wraps ExternalProject_Add.
|
||||||
|
Loading…
Reference in New Issue
Block a user