Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dasperal committed Jun 13, 2024
1 parent 54c29ea commit cd8d1b7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
matrix:
config:
-
display_name: "WATCOM 1.9"
display_name: "WATCOM 2.0"
runner: "ubuntu-22.04"
shell: "bash"
# compiler_name: ""
watcom_version: "1.9"
watcom_version: "2.0"
cmake_preset: "ci-watcom"
# build_suffix:

Expand All @@ -35,6 +35,7 @@ jobs:
- uses: open-watcom/setup-watcom@v0
with:
version: ${{ matrix.config.watcom_version }}
tag: last

- uses: actions/checkout@v4
with:
Expand Down
11 changes: 8 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,19 @@ add_executable(rusdoom
z_zone.c z_zone.h
)

target_include_directories(rusdoom PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}"
)
#target_include_directories(rusdoom PRIVATE
# "${CMAKE_CURRENT_SOURCE_DIR}"
#)

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 cd8d1b7

Please sign in to comment.