web_service: Add CMake flag to enable.

This commit is contained in:
bunnei 2017-07-09 17:52:18 -04:00
parent 8af3ebb149
commit 33b012e86b
5 changed files with 32 additions and 14 deletions

View file

@ -386,5 +386,8 @@ set(HEADERS
create_directory_groups(${SRCS} ${HEADERS})
add_library(core STATIC ${SRCS} ${HEADERS})
target_link_libraries(core PUBLIC common PRIVATE audio_core video_core web_service)
target_link_libraries(core PUBLIC common PRIVATE audio_core video_core)
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt)
if (ENABLE_WEB_SERVICE)
target_link_libraries(core PUBLIC json-headers web_service)
endif()