Skip to content

Commit

Permalink
Add UTF-8 resource to meson
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos committed Sep 27, 2024
1 parent f7cf18a commit b37759a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,13 @@ exiv2_sources = files(
'app/app_utils.cpp',
'app/exiv2.cpp',
'app/getopt.cpp',
host_machine.system() == 'windows' ? 'app/wmain.cpp' : [],
)

if host_machine.system() == 'windows'
windows = import('windows')
exiv2_sources += windows.compile_resources('app/utf8.rc', depend_files: 'app/utf8.manifest')
endif

exiv2inc = include_directories('src', 'include/exiv2')
executable(
'exiv2',
Expand Down

0 comments on commit b37759a

Please sign in to comment.