From 004b91358e8b8c09eec5106958618c53cfa6f43e Mon Sep 17 00:00:00 2001 From: JosiahWI Date: Mon, 15 May 2023 12:28:38 -0500 Subject: [PATCH] Work around TestBigEndian bug in cmake<3.9 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75914d10..fb9ca2a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,9 +9,11 @@ endif() set(IRRLICHTMT_REVISION 11) +# workaround: cmake<3.9 requires C language for internal checks +# https://gitlab.kitware.com/cmake/cmake/-/merge_requests/487 project(Irrlicht VERSION 1.9.0.${IRRLICHTMT_REVISION} - LANGUAGES CXX + LANGUAGES C CXX ) message(STATUS "*** Building IrrlichtMt ${PROJECT_VERSION} ***")