aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-15 21:33:32 -0400
committerGitHub <noreply@github.com>2018-10-15 21:33:32 -0400
commit2850c1f53cd272ff3efb8fcd89e2d0c8fa497568 (patch)
tree0e6b51ffb96eeaa0873b5f47994aaf0959925bc4 /src/core
parent1fe77d39863bbc91152913373e3390233b5658cf (diff)
parent9500d710722633c4b843f4279d1c78b0dab343f6 (diff)
Merge pull request #1473 from lioncash/cmake
web_service: Make linkage of web_service-related externals and the library private
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 4fddaafd1f..78986deb50 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -400,8 +400,8 @@ create_target_directory_groups(core)
target_link_libraries(core PUBLIC common PRIVATE audio_core video_core)
target_link_libraries(core PUBLIC Boost::boost PRIVATE fmt lz4_static mbedtls opus unicorn 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 web_service)
endif()
if (ARCHITECTURE_x86_64)