diff --git a/cunumeric_cpp.cmake b/cunumeric_cpp.cmake index 9ab2741b3..7034bb600 100644 --- a/cunumeric_cpp.cmake +++ b/cunumeric_cpp.cmake @@ -331,7 +331,7 @@ list(APPEND cunumeric_SOURCES src/cunumeric/cunumeric.cc ) -if(NOT CMAKE_BUILD_TYPE STREQUAL "Release") +if(CMAKE_BUILD_TYPE STREQUAL "Debug") list(APPEND cunumeric_CXX_DEFS DEBUG_CUNUMERIC) list(APPEND cunumeric_CUDA_DEFS DEBUG_CUNUMERIC) endif()