aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildGperf.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/cmake/BuildGperf.cmake')
-rw-r--r--third-party/cmake/BuildGperf.cmake1
1 files changed, 1 insertions, 0 deletions
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.