summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf3ca8a..2843fd3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,9 @@ endif()
if (KALMIA_BUILD_TESTS)
add_executable(kalmia-tests)
target_link_libraries(kalmia-tests kalmia)
+ if (UNIX)
+ target_link_libraries(kalmia-tests m)
+ endif()
endif()
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/src)