fix: missing include and link options

This commit is contained in:
TaurusXin 2024-03-24 17:48:04 +08:00
parent d47d29426e
commit 37acbf07a7
Signed by: taurusxin
GPG Key ID: C334DCA04AC2D2CC
1 changed files with 9 additions and 0 deletions

View File

@ -54,6 +54,15 @@ else()
) )
endif() endif()
# executable target
target_include_directories(ncmdump PRIVATE src/include)
target_link_libraries(ncmdump tag)
target_include_directories(ncmdump PRIVATE taglib)
target_include_directories(ncmdump PRIVATE taglib/taglib)
target_include_directories(ncmdump PRIVATE taglib/taglib/toolkit)
target_include_directories(ncmdump PRIVATE taglib/taglib/mpeg/id3v2)
include(GNUInstallDirs) include(GNUInstallDirs)
install(TARGETS ncmdump install(TARGETS ncmdump
BUNDLE DESTINATION . BUNDLE DESTINATION .