From: Russell Greene Date: Tue, 4 Oct 2016 01:13:35 +0000 (-0600) Subject: Fix CMake error X-Git-Tag: v1.3.6~30 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibvorbis.git;a=commitdiff_plain;h=0b8da3a6a8ce15a31e6f2540cd4b68b4e79c1360 Fix CMake error Include vorbis library when linking vorbisfile and vorbisenc. Signed-off-by: Ralph Giles --- diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index c660004..a682ed4 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)