Skip to content

Commit

Permalink
Cmake: Silence "Parameter * has been defined, but not referenced" war…
Browse files Browse the repository at this point in the history
…nings

Unused parameters are normal in most cases
  • Loading branch information
Dasperal committed Jun 14, 2024
1 parent 8fe5b43 commit e09f62f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ set_target_properties(rusdoom PROPERTIES
C_STANDARD_REQUIRED ON
)

target_compile_options(rusdoom PRIVATE
-wx
-wcd=303
)

install(TARGETS rusdoom RUNTIME
DESTINATION .
RENAME RUSDOOM.EXE
Expand Down

0 comments on commit e09f62f

Please sign in to comment.