summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Greene <russellgreene8@gmail.com>2016-10-03 19:13:35 -0600
committerRalph Giles <giles@thaumas.net>2016-10-04 12:57:50 -0700
commit0b8da3a6a8ce15a31e6f2540cd4b68b4e79c1360 (patch)
treef5f0d8da689fbfa8ff92f2b4742345a2ac200643
parent39efc81a2d61b2fcb680768d45c3ad7f01725a23 (diff)
downloadlibvorbis-git-0b8da3a6a8ce15a31e6f2540cd4b68b4e79c1360.tar.gz
Fix CMake error
Include vorbis library when linking vorbisfile and vorbisenc. Signed-off-by: Ralph Giles <giles@thaumas.net>
-rw-r--r--lib/CMakeLists.txt4
1 files 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)