Skip to content

Commit

Permalink
CMake: Add language C to project()
Browse files Browse the repository at this point in the history
It seems this is sometimes needed because we are using C libs?
  • Loading branch information
joto committed Jan 10, 2022
1 parent c60e878 commit 040947b
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
Expand Up @@ -10,7 +10,7 @@ cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)

#-----------------------------------------------------------------------------

project(protozero VERSION 1.7.0 LANGUAGES CXX)
project(protozero VERSION 1.7.0 LANGUAGES CXX C)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

Expand Down

0 comments on commit 040947b

Please sign in to comment.