diff --git a/CMakeLists.txt b/CMakeLists.txt index e0de396..f4a69d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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=")