summaryrefslogtreecommitdiff
path: root/src/metaflac/CMakeLists.txt
blob: 77eafbdb5c7ef869917f81a8faa1ef3356f6ab41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
add_executable(metaflac
    main.c
    operations.c
    operations_shorthand_cuesheet.c
    operations_shorthand_picture.c
    operations_shorthand_seektable.c
    operations_shorthand_streaminfo.c
    operations_shorthand_vorbiscomment.c
    options.c
    usage.c
    utils.c)
target_link_libraries(metaflac FLAC getopt utf8)
if(TARGET win_utf8_io)
    target_link_libraries(metaflac win_utf8_io)
endif()

install(TARGETS metaflac EXPORT targets
    RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")