diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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) |