From be8a4cd2cbc85ca6b62b7f78649bc0afc031d5ee Mon Sep 17 00:00:00 2001 From: Frodo Baggins Date: Sun, 6 Oct 2024 22:53:45 -0700 Subject: [PATCH] DONT MERGE add DEBUG_ --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 397a96b669..a96d5ee050 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,10 @@ if (NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release) endif() +if (CMAKE_BUILD_TYPE STREQUAL "Debug") + add_compile_definitions(_DEBUG) +endif() + project(shadPS4) # Forcing PIE makes sure that the base address is high enough so that it doesn't clash with the PS4 memory.