aboutsummaryrefslogtreecommitdiff
path: root/restapi/CMakeLists.txt
blob: e1cad6adcb2991bfa3a8d0cf00fe1db382125c4e (plain)
1
2
3
4
5
6
file(GLOB_RECURSE SOURCES *.c)

ADD_LIBRARY(restapi STATIC ${SOURCES})
add_dependencies(restapi cjson-build)
target_link_libraries(restapi common)
target_link_libraries(restapi ${CMAKE_CURRENT_BINARY_DIR}/../cjson/src/cjson-build/libcjson.a)