diff options
| author | 2018-10-10 21:37:19 -0400 | |
|---|---|---|
| committer | 2018-10-10 22:29:39 -0400 | |
| commit | 28ec921d0d49957c067783d1e21d18734c17c67d (patch) | |
| tree | 54b2aff0597dba26c4bf851dde94491bee381573 /src | |
| parent | web_backend: Make Client use the PImpl idiom (diff) | |
| download | yuzu-28ec921d0d49957c067783d1e21d18734c17c67d.tar.gz yuzu-28ec921d0d49957c067783d1e21d18734c17c67d.tar.xz yuzu-28ec921d0d49957c067783d1e21d18734c17c67d.zip | |
core/CMakeLists: Make all web_service-related libraries private
Now that all external dependencies are hidden, we can remove
json-headers from the publically linked libraries, as the use of this
library is now completely hidden from external users of the web_service
library. We can also make the web_services library private as well,
considering it's not a requirement. If a library needs to link in
web_service, it should be done explicitly -- not via indirect linking.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index f3b44fac0..194e5f3f7 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -398,7 +398,7 @@ target_link_libraries(core PUBLIC common PRIVATE audio_core video_core) | |||
| 398 | target_link_libraries(core PUBLIC Boost::boost PRIVATE fmt lz4_static mbedtls opus unicorn open_source_archives) | 398 | target_link_libraries(core PUBLIC Boost::boost PRIVATE fmt lz4_static mbedtls opus unicorn open_source_archives) |
| 399 | if (ENABLE_WEB_SERVICE) | 399 | if (ENABLE_WEB_SERVICE) |
| 400 | target_compile_definitions(core PRIVATE -DENABLE_WEB_SERVICE) | 400 | target_compile_definitions(core PRIVATE -DENABLE_WEB_SERVICE) |
| 401 | target_link_libraries(core PUBLIC json-headers web_service) | 401 | target_link_libraries(core PRIVATE web_service) |
| 402 | endif() | 402 | endif() |
| 403 | 403 | ||
| 404 | if (ARCHITECTURE_x86_64) | 404 | if (ARCHITECTURE_x86_64) |