Browse Source

[build] cmake build now defaults to C11

cmake build now defaults to C11, like meson build
master
Glenn Strauss 5 months ago
parent
commit
c5d55a9970
  1. 3
      CMakeLists.txt

3
CMakeLists.txt

@ -2,6 +2,9 @@ project(lighttpd C)
cmake_minimum_required(VERSION 2.8.2 FATAL_ERROR)
# use C11 with CMake >= 3.1
set(CMAKE_C_STANDARD 11)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/scripts/cmake)
include(CTest)

Loading…
Cancel
Save