From 87988ffd0549a5b853cf92117ee5fbbb33555a7a Mon Sep 17 00:00:00 2001 From: CFLAG Date: Tue, 14 Jan 2025 10:06:04 +0100 Subject: [PATCH] Use DEBG only for dev builds --- cmake/X3D_Compilers.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/X3D_Compilers.cmake b/cmake/X3D_Compilers.cmake index ede56f58..a443c3b6 100644 --- a/cmake/X3D_Compilers.cmake +++ b/cmake/X3D_Compilers.cmake @@ -8,11 +8,11 @@ message(STATUS "Fortran compiler version ${CMAKE_Fortran_COMPILER_VERSION}") set(CMAKE_Fortran_PREPROCESS ON) if (CMAKE_BUILD_TYPE MATCHES "DEBUG") - add_definitions("-DDEBUG -DDEBG") + add_definitions("-DDEBUG") endif (CMAKE_BUILD_TYPE MATCHES "DEBUG") if (CMAKE_BUILD_TYPE MATCHES "DEV") - message(FATAL_ERROR "The code is not ready for DEV builds") + add_definitions("-DDEBUG -DDEBG") endif (CMAKE_BUILD_TYPE MATCHES "DEV") if (ENABLE_INPLACE)