From 3a44935f2d910e82beb2c2872bd21ff5eb13434a Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 6 Sep 2014 02:15:05 +0200 Subject: [PATCH] Don't link libcJSON against libm on Haiku refs #7115 --- third-party/cJSON/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third-party/cJSON/CMakeLists.txt b/third-party/cJSON/CMakeLists.txt index bc3f7aaa0..617a9e179 100644 --- a/third-party/cJSON/CMakeLists.txt +++ b/third-party/cJSON/CMakeLists.txt @@ -23,7 +23,7 @@ set_target_properties ( FOLDER Lib ) -if(UNIX) +if(UNIX AND NOT HAIKU) target_link_libraries(cJSON m) endif()