Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dasperal committed Jun 12, 2024
1 parent 54c29ea commit 5955d1b
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -90,6 +90,11 @@ target_link_libraries(rusdoom PRIVATE
audio_lib
)

set_target_properties(rusdoom PROPERTIES
C_STANDARD 99
C_STANDARD_REQUIRED ON
)

install(TARGETS rusdoom RUNTIME
DESTINATION .
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
Expand Down
1 change: 1 addition & 0 deletions src/p_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// set up initial state and misc. LUTs.
//

#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
Expand Down

0 comments on commit 5955d1b

Please sign in to comment.