Skip to content

Commit

Permalink
Set C/CXX standards versions in CMake.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Jan 8, 2024
1 parent 5ca1a77 commit dae64fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
cmake_minimum_required(VERSION 3.15)

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

add_subdirectory(lib/interop)

set(SIMPLE_SRCS
Expand Down

0 comments on commit dae64fb

Please sign in to comment.