nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/player/CMakeLists.txt b/player/CMakeLists.txt
2index c160e10..62c2611 100644
3--- a/player/CMakeLists.txt
4+++ b/player/CMakeLists.txt
5@@ -25,4 +25,4 @@ target_include_directories(
6 target_link_libraries(
7 player
8 PUBLIC core error asio_helper PkgConfig::LIBAV
9- PRIVATE ctre cubeb::cubeb)
10+ PRIVATE ctre cubeb)
11diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
12index 45345d3..f797b48 100644
13--- a/third_party/CMakeLists.txt
14+++ b/third_party/CMakeLists.txt
15@@ -41,10 +41,7 @@ option(USE_SANITIZERS "" OFF)
16 set(USE_WINMM
17 OFF
18 CACHE BOOL "")
19-add_subdirectory(cubeb EXCLUDE_FROM_ALL)
20-set_property(TARGET cubeb PROPERTY MSVC_RUNTIME_LIBRARY
21- "MultiThreaded$<$<CONFIG:Debug>:Debug>")
22-add_library(cubeb::cubeb ALIAS cubeb)
23+find_package(cubeb REQUIRED)
24
25 option(KDSingleApplication_QT6 "" ON)
26 option(KDSingleApplication_STATIC "" ON)
27@@ -55,4 +52,4 @@ add_subdirectory(KDSingleApplication)
28
29
30 add_library(pegtl INTERFACE)
31-target_include_directories(pegtl INTERFACE PEGTL/include)
32\ No newline at end of file
33+target_include_directories(pegtl INTERFACE PEGTL/include)