aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorproller <proller@github.com>2013-03-06 00:51:05 +0400
committerkwolekr <kwolekr@minetest.net>2013-03-05 23:54:07 -0500
commitdd8593f2d6c1db06035be2e55a518109b74fc3b2 (patch)
treec7a57eef791f6234aca86e6b34fdd9e0b1c32b6e /src
parent5af8acfa6e41e258dd7e2135e8e75f03096c1d5c (diff)
downloadminetest-dd8593f2d6c1db06035be2e55a518109b74fc3b2.tar.gz
minetest-dd8593f2d6c1db06035be2e55a518109b74fc3b2.tar.bz2
minetest-dd8593f2d6c1db06035be2e55a518109b74fc3b2.zip
fix link if system json lib exists
Diffstat (limited to 'src')
-rw-r--r--src/json/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json/CMakeLists.txt b/src/json/CMakeLists.txt
index 0957799aa..5887d523a 100644
--- a/src/json/CMakeLists.txt
+++ b/src/json/CMakeLists.txt
@@ -6,9 +6,9 @@ else( UNIX )
set(json_platform_LIBS "")
endif( UNIX )
-add_library(json ${json_SRCS})
+add_library(jsoncpp ${json_SRCS})
target_link_libraries(
- json
+ jsoncpp
${json_platform_LIBS}
)