Skip to content

Commit

Permalink
fix: Debug mode is disabled again for C++ plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Aug 30, 2024
1 parent d460b92 commit b48ca13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/EndstoneHeaders.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ else ()
message(FATAL_ERROR "Endstone: ${CMAKE_SYSTEM_NAME} (${CMAKE_SYSTEM_PROCESSOR}) is not supported")
endif ()

if (CMAKE_BUILD_TYPE STREQUAL "Debug")
message(FATAL_ERROR "Endstone: Debug builds are not supported. Please build in 'Release' or 'RelWithDebInfo' mode.")
endif ()


# ===================
# Dependencies
Expand Down

0 comments on commit b48ca13

Please sign in to comment.