aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-12-12 20:11:42 +0800
committercrupest <crupest@outlook.com>2019-12-12 20:11:42 +0800
commit02f46ada9ef85165759f5e58d665510077149ef3 (patch)
tree02ab3dfd0598133c679ada7836b89af2fcf8b2f1 /src
parente69911a8b161b81ce3f7b209175766da2b7b3d4b (diff)
downloadcru-02f46ada9ef85165759f5e58d665510077149ef3.tar.gz
cru-02f46ada9ef85165759f5e58d665510077149ef3.tar.bz2
cru-02f46ada9ef85165759f5e58d665510077149ef3.zip
...
Diffstat (limited to 'src')
-rw-r--r--src/common/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 516d5f1b..a6497222 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -11,3 +11,5 @@ target_sources(cru_base PUBLIC
${CRU_BASE_INCLUDE_DIR}/self_resolvable.hpp
)
target_include_directories(cru_base PUBLIC ${CRU_INCLUDE_DIR})
+
+target_compile_definitions(cru_base PUBLIC $<$<CONFIG:Debug>:CRU_DEBUG>)