build with cmake instead makefile

Task Info (Flyspray)
Opened By Gustavo Alvarez (sl1pkn07)
Task ID 77902
Type Bug Report
Project Arch Linux
Category Packages: Extra
Version None
OS All
Opened 2023-03-18 21:51:22 UTC
Status Assigned
Assignee Evangelos Foutras (foutrelis)

Details

Description:

re2 can be build with cmake, and if use this method, the installation provide the necessary .cmake file for integrate with other cmake projects. makefile method lack this one

makefile: https://github.com/google/re2/blob/b059ae85c83ca6b1f29dba20e92e4acb85cb5b29/Makefile#L322-L330 cmake: https://github.com/google/re2/blob/b059ae85c83ca6b1f29dba20e92e4acb85cb5b29/CMakeLists.txt#L202-L218

greetings