From 045961e7a08b5d579b34b766da914c4964e67aaa Mon Sep 17 00:00:00 2001 From: Dedmen Miller Date: Mon, 26 Apr 2021 17:02:07 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Walter Schell <3580170+walterschell@users.noreply.github.com> --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 71c5739..db75d71 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,7 @@ project(lua LANGUAGES C VERSION 5.4.2) option(LUA_SUPPORT_DL "Support dynamic loading of compiled modules" OFF) option(LUA_BUILD_AS_CXX "Build lua as C++" OFF) +enable_language(CXX) if(${PROJECT_NAME} STREQUAL ${CMAKE_PROJECT_NAME}) set(TOP_LEVEL TRUE)