test: new finder

This commit is contained in:
TaurusXin
2025-10-04 16:47:11 +08:00
parent b17f15d582
commit ba56ee0e7c
3 changed files with 47 additions and 31 deletions
+1 -3
View File
@@ -5,10 +5,8 @@ project(ncmdump LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Ubuntu 24 Does not contains taglib 2.x, only 1.x, find it manually.
if(UNIX AND NOT APPLE)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
endif()
find_package(ZLIB)
find_package(TagLib REQUIRED)