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 7b6fb9c commit c91c57f
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 @@ -93,6 +93,11 @@ set_target_properties(rusdoom PROPERTIES
SUFFIX ".EXE"
)

target_compile_options(rusdoom PRIVATE
-wx
-wcd=303
)

install(TARGETS rusdoom RUNTIME
DESTINATION .
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
Expand Down

0 comments on commit c91c57f

Please sign in to comment.