From 80acb1b767fd3b8729f8affb6e7b078af6086c12 Mon Sep 17 00:00:00 2001 From: Marcus Asteborg Date: Tue, 20 Jun 2023 18:20:09 -0700 Subject: [PATCH] Add missing include paths for lpcnet for test binaries --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e5429eb18..e965194ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -651,7 +651,7 @@ if(BUILD_TESTING AND NOT BUILD_SHARED_LIBS) add_executable(test_opus_encode ${test_opus_encode_sources}) target_include_directories(test_opus_encode - PRIVATE ${CMAKE_CURRENT_BINARY_DIR} celt) + PRIVATE ${CMAKE_CURRENT_BINARY_DIR} celt lpcnet/include) target_link_libraries(test_opus_encode PRIVATE opus) target_compile_definitions(test_opus_encode PRIVATE OPUS_BUILD) add_test(NAME test_opus_encode COMMAND ${CMAKE_COMMAND} @@ -661,7 +661,7 @@ if(BUILD_TESTING AND NOT BUILD_SHARED_LIBS) add_executable(test_opus_extensions ${test_opus_extensions_sources}) target_include_directories(test_opus_extensions - PRIVATE ${CMAKE_CURRENT_BINARY_DIR} celt) + PRIVATE ${CMAKE_CURRENT_BINARY_DIR} celt lpcnet/include) target_link_libraries(test_opus_extensions PRIVATE opus) target_compile_definitions(test_opus_extensions PRIVATE OPUS_BUILD) add_test(NAME test_opus_extensions COMMAND ${CMAKE_COMMAND}