15 lines
237 B
CMake
15 lines
237 B
CMake
|
if( UNIX )
|
||
|
set(json_SRCS jsoncpp.cpp)
|
||
|
set(json_platform_LIBS "")
|
||
|
else( UNIX )
|
||
|
set(json_SRCS jsoncpp.cpp)
|
||
|
set(json_platform_LIBS "")
|
||
|
endif( UNIX )
|
||
|
|
||
|
add_library(json ${json_SRCS})
|
||
|
|
||
|
target_link_libraries(
|
||
|
json
|
||
|
${json_platform_LIBS}
|
||
|
)
|