File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ jobs:
2121 blocks : -DUNICODE_BLOCKS=/usr/share/unicode/Blocks.txt
2222 install_packages : >
2323 sudo apt update &&
24- sudo apt install cmake gettext libcairo2-dev libglib2.0-dev libfmt-dev libfreetype6-dev libpango1.0-dev ninja-build pkg-config unicode-data
24+ sudo apt install cmake gettext libcairo2-dev libcairomm-1.0-dev libglib2.0-dev libfmt-dev libfreetype6-dev libpango1.0-dev libpangomm-1.4 -dev ninja-build pkg-config unicode-data
2525 - os : macos-latest
2626 env :
2727 - CMAKE_PREFIX_PATH : /usr/local/opt/gettext
2828 install_packages : >
2929 brew update &&
30- brew install cairo cmake fmt fontconfig freetype gettext glib pango ninja pkg-config
30+ brew install cairo cairomm cmake fmt fontconfig freetype gettext glib pango pangomm ninja pkg-config
3131
3232 runs-on : ${{matrix.os}}
3333
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ pkg_check_modules(pkgs REQUIRED IMPORTED_TARGET
3434 pangoft2>=1.37.0
3535)
3636
37+ # FIXME: this is ugly
38+ pkg_search_module (cairomm REQUIRED IMPORTED_TARGET cairomm cairomm-1.16 cairomm-1.0 )
39+ pkg_search_module (pangomm REQUIRED IMPORTED_TARGET pangomm pangomm-2.48 pangomm-1.4 )
40+
3741include (DownloadUnicodeBlocks )
3842
3943download_unicode_blocks ()
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ target_include_directories(fntsample PRIVATE
4141 ${CMAKE_CURRENT_SOURCE_DIR}
4242)
4343
44- target_link_libraries (fntsample PRIVATE Intl::Intl PkgConfig::pkgs fmt::fmt )
44+ target_link_libraries (fntsample PRIVATE Intl::Intl PkgConfig::pkgs fmt::fmt PkgConfig::cairomm PkgConfig::pangomm )
4545
4646target_compile_options (fntsample PRIVATE ${C_WARNING_FLAGS} )
4747
You can’t perform that action at this time.
0 commit comments