aboutsummaryrefslogtreecommitdiff
path: root/lib/mpack
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 14:51:43 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 14:51:43 +0200
commit573ee2dd6790c00c9e0f709f222bc2a68f015d6d (patch)
treea37e81ced097ec04dc6bf36efaf072ff69e8efc3 /lib/mpack
parent681107dde23e19b0a14e09a59f687cf9978b50ed (diff)
WIP losing my mind
Diffstat (limited to 'lib/mpack')
-rw-r--r--lib/mpack/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mpack/CMakeLists.txt b/lib/mpack/CMakeLists.txt
index 0e4359d..4badc7b 100644
--- a/lib/mpack/CMakeLists.txt
+++ b/lib/mpack/CMakeLists.txt
@@ -7,6 +7,8 @@ cmake_minimum_required(VERSION 3.29)
set(CMAKE_C_STANDARD 11)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
+# set(CMAKE_BUILD_TYPE Debug)
+
project(mpack C)
add_library(mpack STATIC
@@ -24,5 +26,5 @@ target_include_directories(mpack SYSTEM INTERFACE
)
# causes some wild crashes, please leave off
-add_compile_definitions(MPACK_READ_TRACKING=0)
+target_compile_definitions(mpack PRIVATE MPACK_READ_TRACKING=0)