Skip to content

Commit 41e4d82

Browse files
committed
chore: enable compile warning as error
1 parent 3cf5963 commit 41e4d82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ set(CMAKE_CXX_STANDARD 20)
3232
set(CMAKE_CXX_STANDARD_REQUIRED ON)
3333
set(CMAKE_CXX_EXTENSIONS OFF)
3434
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
35+
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
3536

3637
option(ICEBERG_BUILD_STATIC "Build static library" ON)
3738
option(ICEBERG_BUILD_SHARED "Build shared library" OFF)

0 commit comments

Comments
 (0)