diff options
| author | bunnei <bunneidev@gmail.com> | 2018-10-15 21:33:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-15 21:33:32 -0400 |
| commit | 548958bcafa572fdfbb147b1bd590c02f9bb4b40 (patch) | |
| tree | 0e6b51ffb96eeaa0873b5f47994aaf0959925bc4 /src/core | |
| parent | 870c18b0786296f30e79c21ad7213e90109eb299 (diff) | |
| parent | 28ec921d0d49957c067783d1e21d18734c17c67d (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.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 4fddaafd1..78986deb5 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) |
