From 5b699253f80ef9335bec29e33b1a10346c2dfb97 Mon Sep 17 00:00:00 2001 From: aneejit1 Date: Wed, 2 Nov 2022 15:45:53 +0000 Subject: [PATCH] Add ogg/vorbis/sndfile include and link directories When ogg, vorbis or sndfile are not installed in /usr, a compilation failure in plugins/recording may occur due to missing specifications of the include and link directories. The required directory variables are now added to the "include_directories" and "link_directories" statements. Signed-off-by: aneejit1 --- plugins/recording/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/recording/CMakeLists.txt b/plugins/recording/CMakeLists.txt index 8d9d382..95c2d93 100644 --- a/plugins/recording/CMakeLists.txt +++ b/plugins/recording/CMakeLists.txt @@ -5,11 +5,21 @@ include_directories( ${CMAKE_BINARY_DIR} ${TQT_INCLUDE_DIRS} ${TDE_INCLUDE_DIR} + ${OGG_INCLUDE_DIRS} + ${VORBIS_INCLUDE_DIRS} + ${VORBISENC_INCLUDE_DIRS} + ${VORBISFILE_INCLUDE_DIRS} + ${SNDFILE_INCLUDE_DIRS} ) link_directories( ${TQT_LIBRARY_DIRS} ${TDE_LIB_DIR} + ${OGG_LIBRARY_DIRS} + ${VORBIS_LIBRARY_DIRS} + ${VORBISENC_LIBRARY_DIRS} + ${VORBISFILE_LIBRARY_DIRS} + ${SNDFILE_LIBRARY_DIRS} )