mehah / otclient

An alternative tibia client for otserv written in C++20 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
Other
269 stars 209 forks source link

fix: CMake build libs ogg, phmap and missing absl for protobuf #938

Closed jopadan closed 1 month ago

jopadan commented 1 month ago

Description

Add missing absl for system protobuf and switch to protobuf::libprotobuf Remove CONFIG from Ogg to find package Add Check for parallel-hashmap header

Fixes

#937 #936

Type of change

Test Configuration:

Checklist

mehah commented 1 month ago

@jopadan https://github.com/mehah/otclient/actions/runs/11420960668/job/31777564760?pr=938#step:8:323

image

I don't know much about cmake, maybe need to add abseil as a dependency to vcpkg.

https://github.com/mehah/otclient/blob/f02bd7ed0bef9d76c5c940d78b31ce5d8494efff/vcpkg.json#L4

dudantas commented 1 month ago

I've taken the liberty to submit a commit correcting the absl. I hope you don't mind. It was missing to add it to vcpkg.json and correct the way it finds package