From 0b8da3a6a8ce15a31e6f2540cd4b68b4e79c1360 Mon Sep 17 00:00:00 2001 From: Russell Greene Date: Mon, 3 Oct 2016 19:13:35 -0600 Subject: Fix CMake error Include vorbis library when linking vorbisfile and vorbisenc. Signed-off-by: Ralph Giles --- lib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index c6600044..a682ed4c 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -80,8 +80,8 @@ if (NOT BUILD_FRAMEWORK) set_target_properties(vorbisfile PROPERTIES SOVERSION ${VORBISFILE_VERSION_INFO}) target_link_libraries(vorbis ${OGG_LIBRARIES}) - target_link_libraries(vorbisenc ${OGG_LIBRARIES}) - target_link_libraries(vorbisfile ${OGG_LIBRARIES}) + target_link_libraries(vorbisenc ${OGG_LIBRARIES} vorbis) + target_link_libraries(vorbisfile ${OGG_LIBRARIES} vorbis) install(FILES ${VORBIS_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/vorbis) -- cgit v1.2.1