Skip to content

Commit

Permalink
Merge pull request #14 from Daft-Freak/patch-3
Browse files Browse the repository at this point in the history
Slightly less annoying warning level
  • Loading branch information
Gadgetoid authored Feb 10, 2021
2 parents 601d8a4 + 26afd31 commit 73c33b4
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
Expand Up @@ -15,9 +15,9 @@ set(PROJECT_DISTRIBS LICENSE README.md)

# Build configuration; approach this with caution!
if(MSVC)
add_compile_options("/W4" "/wd4244" "/wd4324")
add_compile_options("/W4" "/wd4244" "/wd4324" "/wd4458" "/wd4100")
else()
add_compile_options("-Wall" "-Wextra" "-Wdouble-promotion")
add_compile_options("-Wall" "-Wextra" "-Wdouble-promotion" "-Wno-unused-parameter")
endif()
if(NOT EXISTS ${32BLIT_PATH}/32blit.cmake)
message(FATAL_ERROR "Define location of 32Blit API with -D32BLIT_PATH=<path to 32blit.cmake>")
Expand Down

0 comments on commit 73c33b4

Please sign in to comment.