blob: 7d8c5cac6203112ee0fdf6f49720f38f08cb215f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# -*- cmake -*-
include(Prebuilt)
include_guard()
create_target( ll::jsoncpp)
use_prebuilt_binary(jsoncpp)
if (WINDOWS)
target_link_libraries( ll::jsoncpp INTERFACE json_libmd.lib )
elseif (DARWIN)
target_link_libraries( ll::jsoncpp INTERFACE libjson_darwin_libmt.a )
elseif (LINUX)
target_link_libraries( ll::jsoncpp INTERFACE libjson_linux-gcc-4.1.3_libmt.a )
endif (WINDOWS)
set_target_include_dirs( ll::jsoncpp ${LIBS_PREBUILT_DIR}/include/json)
|