fix again

This commit is contained in:
lizzie 2026-05-20 18:56:06 +00:00
parent 6dad5281d1
commit 22e5c009c2
2 changed files with 4 additions and 2 deletions

View File

@ -1167,6 +1167,8 @@ add_library(core STATIC
tools/renderdoc.cpp
tools/renderdoc.h)
# httplib must be linked before anything because openssl-external
target_link_libraries(core PRIVATE httplib::httplib)
if (ENABLE_WIFI_SCAN)
target_sources(core PRIVATE internal_network/wifi_scanner.cpp)
if (PLATFORM_LINUX)
@ -1220,7 +1222,7 @@ target_link_libraries(core PRIVATE
RenderDoc::API
ZLIB::ZLIB)
target_link_libraries(core PUBLIC httplib::httplib zstd::zstd)
target_link_libraries(core PUBLIC zstd::zstd)
if (ENABLE_WEB_SERVICE)
target_compile_definitions(core PUBLIC ENABLE_WEB_SERVICE)

View File

@ -18,5 +18,5 @@ add_library(web_service STATIC
create_target_directory_groups(web_service)
target_include_directories(web_service PUBLIC ${cpp-jwt_SOURCE_DIR}/include)
target_link_libraries(web_service PRIVATE common network nlohmann_json::nlohmann_json httplib::httplib cpp-jwt::cpp-jwt)
target_link_libraries(web_service PRIVATE httplib::httplib common network nlohmann_json::nlohmann_json cpp-jwt::cpp-jwt)
target_link_libraries(web_service PRIVATE OpenSSL::SSL OpenSSL::Crypto)