build: add ZLIB dependency

This commit is contained in:
2026-06-26 17:23:35 +08:00
parent 11c902d2bf
commit 7e42f595c9
2 changed files with 3 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ endif()
find_package(OpenGL REQUIRED) find_package(OpenGL REQUIRED)
find_package(Protobuf REQUIRED) find_package(Protobuf REQUIRED)
find_package(absl REQUIRED) find_package(absl REQUIRED)
find_package(ZLIB REQUIRED)
if (UNIX AND NOT APPLE) if (UNIX AND NOT APPLE)
find_package(Freetype REQUIRED) find_package(Freetype REQUIRED)
@@ -207,6 +208,7 @@ target_link_libraries(${PROJECT_NAME}
protobuf::libprotobuf protobuf::libprotobuf
absl::log absl::log
absl::check absl::check
ZLIB::ZLIB
) )
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang") if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")

View File

@@ -113,6 +113,7 @@ void DevPanel::show_about_table_bar() {
ImGui::Text("Tbb"); ImGui::Text("Tbb");
ImGui::Text("Asio"); ImGui::Text("Asio");
ImGui::Text("protobuf"); ImGui::Text("protobuf");
ImGui::Text("zlib");
ImGui::Separator(); ImGui::Separator();
ImGui::Text("Special Thanks"); ImGui::Text("Special Thanks");
ImGui::Text("TANGERIME"); ImGui::Text("TANGERIME");