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 04d09b9
Showing 1 changed file with 1 addition and 0 deletions.
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 04d09b9

Please sign in to comment.