fix build

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-10-15 01:05:50 +03:00
parent 9f7365cbb6
commit aaf5dbb3b7
4 changed files with 92 additions and 6 deletions

View File

@@ -44,6 +44,14 @@ set(MSDFGEN_DISABLE_SVG ON)
set(MSDFGEN_DISABLE_PNG ON)
FetchContent_MakeAvailable(msdfgen)
FetchContent_Declare(
mINI
GIT_REPOSITORY https://github.com/metayeti/mINI.git
GIT_TAG "0.9.18"
GIT_SHALLOW 1
)
FetchContent_MakeAvailable(mINI)
find_program(WAYLAND_SCANNER wayland-scanner REQUIRED)
pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
@@ -140,6 +148,7 @@ add_custom_target(generate_protocols ALL
add_executable(waylight
${GEN_C_PRIVATES}
${CMAKE_CURRENT_SOURCE_DIR}/src/IconRegistry.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/TextRenderer.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/ImGui.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/App.cpp
@@ -163,6 +172,7 @@ target_link_libraries(waylight PRIVATE
PkgConfig::FONTCONFIG
PkgConfig::HARFBUZZ
mINI
raylib
msdfgen::msdfgen-core
msdfgen::msdfgen-ext