From 37acbf07a7ad83f762d9b6c4514a7c3ac62b1718 Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Sun, 24 Mar 2024 17:48:04 +0800 Subject: [PATCH] fix: missing include and link options --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf924f6..1afb195 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,15 @@ else() ) 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) install(TARGETS ncmdump BUNDLE DESTINATION .