Skip to content

Commit

Permalink
Add missing include paths for lpcnet for test binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
xnorpx committed Jun 21, 2023
1 parent d2fbe26 commit 80acb1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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}
Expand Down

0 comments on commit 80acb1b

Please sign in to comment.