Skip to content

Commit

Permalink
Add a \todo comment re CMAKE_COMPILE_WARNING_AS_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Apr 25, 2024
1 parent 5fb2662 commit ff5008d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ add_compile_definitions(
)

# Enable most compiler warnings, and treat as errors.
# \todo Consider using CMAKE_COMPILE_WARNING_AS_ERROR on CMake 3.24+
if (MSVC)
add_compile_options(/W3 /WX)
else()
Expand Down

0 comments on commit ff5008d

Please sign in to comment.