summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-11-27 01:19:14 -0600
committersanine <sanine.not@pm.me>2022-11-27 01:19:14 -0600
commit6053d87cd02cd5aec9da5bc46039ec4cca181dec (patch)
tree81dd8f2fd0fc5bef5951bee324a8ceb0bf419613 /CMakeLists.txt
parentc42d9264aed8da3a057719cab7390fa55904bda6 (diff)
add scale parsing
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2843fd3..f493c77 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,6 +14,8 @@ if (UNIX)
endif()
if (KALMIA_BUILD_TESTS)
+ string(LENGTH "${CMAKE_SOURCE_DIR}/" SOURCE_PATH_SIZE)
+ add_definitions("-DSOURCE_PATH_SIZE=${SOURCE_PATH_SIZE}")
add_executable(kalmia-tests)
target_link_libraries(kalmia-tests kalmia)
if (UNIX)