web_service: hide dependencies to private

This commit is contained in:
Weiyi Wang 2018-10-20 10:47:17 -04:00
parent 57d68bb541
commit 65ec8de31e
4 changed files with 7 additions and 5 deletions

View file

@ -445,8 +445,8 @@ create_target_directory_groups(core)
target_link_libraries(core PUBLIC common PRIVATE audio_core network video_core)
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp fmt open_source_archives)
if (ENABLE_WEB_SERVICE)
add_definitions(-DENABLE_WEB_SERVICE)
target_link_libraries(core PUBLIC json-headers web_service)
target_compile_definitions(core PRIVATE -DENABLE_WEB_SERVICE)
target_link_libraries(core PRIVATE json-headers web_service)
endif()
if (ARCHITECTURE_x86_64)