Skip to content

Commit

Permalink
CMAKE_CXX_STANDARD -> CMAKE_C_STANDARD, disable C++ support.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Jul 25, 2024
1 parent c68e822 commit 6ce0915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
cmake_minimum_required(VERSION 3.16)

# set the project name
project(libg722)
project(libg722 C)

option(ENABLE_SHARED_LIB "Build shared library" ON)
option(ENABLE_STATIC_LIB "Build static library" ON)

# lots of warnings and all warnings as errors
## add_compile_options(-Wall -Wextra )
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_C_STANDARD 17)

file(GLOB_RECURSE SRC_LIST_C CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/g722*.c" )

Expand Down

0 comments on commit 6ce0915

Please sign in to comment.