summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-22 19:02:16 +0200
committerGitHub <noreply@github.com>2018-10-22 19:02:16 +0200
commit65df593951796f57b117e927ce8b467ed27d6a90 (patch)
tree00a5b7ae482a70a493d56a263365d56fb8db93e4
parentMerge pull request #1538 from lioncash/query (diff)
parentweb_service/CMakeLists: Make the CPPHTTPLIB_OPENSSL_SUPPORT constrained to the web_service library only (diff)
downloadyuzu-65df593951796f57b117e927ce8b467ed27d6a90.tar
yuzu-65df593951796f57b117e927ce8b467ed27d6a90.tar.gz
yuzu-65df593951796f57b117e927ce8b467ed27d6a90.tar.bz2
yuzu-65df593951796f57b117e927ce8b467ed27d6a90.tar.lz
yuzu-65df593951796f57b117e927ce8b467ed27d6a90.tar.xz
yuzu-65df593951796f57b117e927ce8b467ed27d6a90.tar.zst
yuzu-65df593951796f57b117e927ce8b467ed27d6a90.zip
-rw-r--r--src/web_service/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web_service/CMakeLists.txt b/src/web_service/CMakeLists.txt
index 1c83e9c34..9ad75e74a 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)
-target_compile_definitions(web_service PUBLIC -DCPPHTTPLIB_OPENSSL_SUPPORT)
+target_compile_definitions(web_service PRIVATE -DCPPHTTPLIB_OPENSSL_SUPPORT)
target_link_libraries(web_service PRIVATE common json-headers ${OPENSSL_LIBS} httplib lurlparser)