From 01f95a1d3231573164d59d5a3da8c68607cf22cb Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 3 Apr 2021 02:39:36 -0500 Subject: [PATCH] [ox/std] Add compile definitions to TraceHook lib (synced from 6265c6dc3bddf7785af889329b1905be6047d131) --- src/ox/std/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ox/std/CMakeLists.txt b/src/ox/std/CMakeLists.txt index 7d2227a51..4a9f04a5b 100644 --- a/src/ox/std/CMakeLists.txt +++ b/src/ox/std/CMakeLists.txt @@ -10,6 +10,12 @@ else() ) endif() +target_compile_definitions( + OxTraceHook PUBLIC + $<$:OX_USE_STDLIB> + $<$:OX_NODEBUG> +) + add_library( OxStd assert.cpp