summaryrefslogtreecommitdiffstats
path: root/src/web_service
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2018-10-02 16:04:10 +0200
committerfearlessTobi <thm.frey@gmail.com>2018-10-02 16:04:10 +0200
commite4daf4bee522c046e5e01eeed2c5b12bd91f489e (patch)
tree77694bd695f1ebffadb67e871bdb6a2f568c6415 /src/web_service
parentReview comments -part 4 (diff)
downloadyuzu-e4daf4bee522c046e5e01eeed2c5b12bd91f489e.tar
yuzu-e4daf4bee522c046e5e01eeed2c5b12bd91f489e.tar.gz
yuzu-e4daf4bee522c046e5e01eeed2c5b12bd91f489e.tar.bz2
yuzu-e4daf4bee522c046e5e01eeed2c5b12bd91f489e.tar.lz
yuzu-e4daf4bee522c046e5e01eeed2c5b12bd91f489e.tar.xz
yuzu-e4daf4bee522c046e5e01eeed2c5b12bd91f489e.tar.zst
yuzu-e4daf4bee522c046e5e01eeed2c5b12bd91f489e.zip
Diffstat (limited to 'src/web_service')
-rw-r--r--src/web_service/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web_service/CMakeLists.txt b/src/web_service/CMakeLists.txt
index ef77728c0..1c83e9c34 100644
--- a/src/web_service/CMakeLists.txt
+++ b/src/web_service/CMakeLists.txt
@@ -12,5 +12,5 @@ create_target_directory_groups(web_service)
get_directory_property(OPENSSL_LIBS
DIRECTORY ${CMAKE_SOURCE_DIR}/externals/libressl
DEFINITION OPENSSL_LIBS)
-add_definitions(-DCPPHTTPLIB_OPENSSL_SUPPORT)
-target_link_libraries(web_service PUBLIC common json-headers ${OPENSSL_LIBS} httplib lurlparser)
+target_compile_definitions(web_service PUBLIC -DCPPHTTPLIB_OPENSSL_SUPPORT)
+target_link_libraries(web_service PRIVATE common json-headers ${OPENSSL_LIBS} httplib lurlparser)