@ -86,7 +86,10 @@ if (ENABLE_WEB_SERVICE)
set ( LIBRESSL_SKIP_INSTALL ON CACHE BOOL "" )
set ( LIBRESSL_SKIP_INSTALL ON CACHE BOOL "" )
add_subdirectory ( libressl EXCLUDE_FROM_ALL )
add_subdirectory ( libressl EXCLUDE_FROM_ALL )
target_include_directories ( ssl INTERFACE ./libressl/include )
target_include_directories ( ssl INTERFACE ./libressl/include )
target_compile_definitions ( ssl PRIVATE -DHAVE_INET_NTOP )
target_compile_definitions ( ssl PRIVATE -DHAVE_INET_NTOP )
get_directory_property ( OPENSSL_LIBRARIES
D I R E C T O R Y l i b r e s s l
D E F I N I T I O N O P E N S S L _ L I B S )
# l u r l p a r s e r
# l u r l p a r s e r
add_subdirectory ( lurlparser EXCLUDE_FROM_ALL )
add_subdirectory ( lurlparser EXCLUDE_FROM_ALL )
@ -94,6 +97,8 @@ if (ENABLE_WEB_SERVICE)
# h t t p l i b
# h t t p l i b
add_library ( httplib INTERFACE )
add_library ( httplib INTERFACE )
target_include_directories ( httplib INTERFACE ./httplib )
target_include_directories ( httplib INTERFACE ./httplib )
target_compile_definitions ( httplib INTERFACE -DCPPHTTPLIB_OPENSSL_SUPPORT )
target_link_libraries ( httplib INTERFACE ${ OPENSSL_LIBRARIES } )
# J S O N
# J S O N
add_library ( json-headers INTERFACE )
add_library ( json-headers INTERFACE )