Work around TestBigEndian bug in cmake<3.9

This commit is contained in:
JosiahWI 2023-05-15 12:28:38 -05:00
parent 636951d304
commit 004b91358e
No known key found for this signature in database
GPG Key ID: C7BB8573A4ABC4B9

View File

@ -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} ***")