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>
pull/5/head
aneejit1 1 year ago
parent e2d33254da
commit 5b699253f8

@ -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}
)

Loading…
Cancel
Save