Skip to content

Commit

Permalink
Don't use --std=c++17 - it breaks C compilation in clang
Browse files Browse the repository at this point in the history
  • Loading branch information
peadar committed Sep 12, 2023
1 parent dcc8ff9 commit 7a6cc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(CMAKE_BUILD_TYPE Debug)

set(CMAKE_CXX_STANDARD 17)

add_definitions("-std=c++17 -O0 -D_FORTIFY_SOURCE=0 -I${CMAKE_SOURCE_DIR}")
add_definitions("-O0 -D_FORTIFY_SOURCE=0 -I${CMAKE_SOURCE_DIR}")

add_library(testhelper STATIC abort.c)

Expand Down

0 comments on commit 7a6cc2b

Please sign in to comment.