Skip to content

Commit

Permalink
Try adding compile option to disable assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCWills committed Feb 7, 2024
1 parent bbde53b commit ad20608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/xbox_nxdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Build
working-directory: ${{github.workspace}}
shell: bash
run: cmake --build build-xbox -j $(nproc) --target nxdk_xbe
run: cmake --build build-xbox --verbose -j $(nproc) --target nxdk_xbe

- name: Upload-Package
if: ${{ !env.ACT }}
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ if(UWP_LIB)
endif()

if(NXDK)
add_compile_options("$<$<NOT:$<CONFIG:Debug>>:-D NDEBUG")
target_link_libraries(${BIN_TARGET} PRIVATE "${NXDK_DIR}/lib/libnxdk_automount_d.lib")
target_link_options(${BIN_TARGET} PRIVATE "-include:_automount_d_drive")

Expand Down

0 comments on commit ad20608

Please sign in to comment.