fix: only run on linux

This commit is contained in:
TaurusXin
2025-10-04 16:24:13 +08:00
parent ebf8743d78
commit 72eb783fae
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -5,7 +5,11 @@ 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)