--- dep/cubeb/CMakeLists.txt.orig 2024-06-14 05:59:32 UTC +++ dep/cubeb/CMakeLists.txt @@ -15,6 +15,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_REQUIRED_INCLUDES "${CMAKE_INSTALL_PREFIX}/include") set(CMAKE_CXX_WARNING_LEVEL 4) if(NOT MSVC) @@ -33,8 +34,10 @@ add_library(cubeb src/cubeb_strings.c src/cubeb_utils.cpp ) -target_include_directories(cubeb - PUBLIC $ $ +target_include_directories(cubeb PUBLIC + $ + $ + $ ) add_library(speex OBJECT subprojects/speex/resample.c) @@ -178,4 +181,4 @@ endif() endif() endif() endif() -endif() \ No newline at end of file +endif()