From 2607ce2a9f1c2d3b88bea100eea6eacd60e95d3c Mon Sep 17 00:00:00 2001 From: utf Date: Thu, 9 May 2024 00:49:19 +0200 Subject: [PATCH] CMake: set project `LANGUAGES` to C This avoids an unnecessary check / requirement for a C++ compiler even though this library only needs a working C compiler. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2398ccc4..1b0dc465 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 2.8.12...3.20) -project(enet) +project(enet C) # The "configure" step. include(CheckFunctionExists)