summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-11-02 15:45:53 +0000
committeraneejit1 <aneejit1@gmail.com>2022-11-02 15:51:27 +0000
commit5b699253f80ef9335bec29e33b1a10346c2dfb97 (patch)
tree004a1b7bce17c27f2d4ec722211598f8b9845d4e
parente2d33254dad90ce93b06e1dc6bd6e155d3877df7 (diff)
downloadtderadio-5b699253.tar.gz
tderadio-5b699253.zip
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 <aneejit1@gmail.com>
-rw-r--r--plugins/recording/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
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}
)