diff --git a/.travis.yml b/.travis.yml index 90570637ba..d550a550d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -138,7 +138,6 @@ addons: - clang-4.0 - cmake - cscope - - g++-multilib - gcc-multilib - gdb - gperf diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt index a31033f92b..768c89f922 100644 --- a/third-party/CMakeLists.txt +++ b/third-party/CMakeLists.txt @@ -1,6 +1,6 @@ # This is not meant to be included by the top-level. cmake_minimum_required (VERSION 2.8.12) -project(NVIM_DEPS) +project(NVIM_DEPS C) # Needed for: check_c_compiler_flag() include(CheckCCompilerFlag) diff --git a/third-party/cmake/BuildGperf.cmake b/third-party/cmake/BuildGperf.cmake index 71c3cc1eef..e922f71ed5 100644 --- a/third-party/cmake/BuildGperf.cmake +++ b/third-party/cmake/BuildGperf.cmake @@ -2,6 +2,7 @@ # 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 # instead of DEPS_* - check the main CMakeLists.txt for a list. +enable_language(CXX) # BuildGperf(CONFIGURE_COMMAND ... BUILD_COMMAND ... INSTALL_COMMAND ...) # Reusable function to build Gperf, wraps ExternalProject_Add.