Skip to content

Commit

Permalink
CMake: set project LANGUAGES to C
Browse files Browse the repository at this point in the history
This avoids an unnecessary check / requirement for a C++ compiler even though
this library only needs a working C compiler.
  • Loading branch information
utf-4096 committed Aug 18, 2024
1 parent 4ce1625 commit f07b0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8.12...3.20)

project(enet)
project(enet C)

# The "configure" step.
include(CheckFunctionExists)
Expand Down

0 comments on commit f07b0eb

Please sign in to comment.