add translate option (uses LibreTranslate)

This commit is contained in:
2023-10-10 22:01:55 -05:00
parent fd30f3b0f3
commit 1129a4be8a
2 changed files with 74 additions and 18 deletions

View File

@@ -4,5 +4,6 @@ SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_STANDARD_REQUIRED True)
SET(CMAKE_CXX_FLAGS "-O3")
find_package(CURL REQUIRED)
find_package(nlohmann_json 3.2.0 REQUIRED)
add_subdirectory(src)
install(TARGETS p3ng0 RUNTIME DESTINATION bin)