2013-02-22 02:00:44 +04:00
|
|
|
if( UNIX )
|
|
|
|
set(json_SRCS jsoncpp.cpp)
|
|
|
|
set(json_platform_LIBS "")
|
|
|
|
else( UNIX )
|
|
|
|
set(json_SRCS jsoncpp.cpp)
|
|
|
|
set(json_platform_LIBS "")
|
|
|
|
endif( UNIX )
|
|
|
|
|
2013-03-06 00:51:05 +04:00
|
|
|
add_library(jsoncpp ${json_SRCS})
|
2013-02-22 02:00:44 +04:00
|
|
|
|
|
|
|
target_link_libraries(
|
2013-03-06 00:51:05 +04:00
|
|
|
jsoncpp
|
2013-02-22 02:00:44 +04:00
|
|
|
${json_platform_LIBS}
|
|
|
|
)
|