[SCM] libgroove/upstream: fix cmake build warnings

andrewrk-guest at users.alioth.debian.org andrewrk-guest at users.alioth.debian.org
Wed Mar 12 18:30:18 UTC 2014


The following commit has been merged in the upstream branch:
commit d67aa64b2610c716f3ac9bffe96b3e8ebceb65e3
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Sat Feb 22 17:45:31 2014 -0500

    fix cmake build warnings

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8c7d7d7..fc7d814 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -253,7 +253,7 @@ else()
   target_link_libraries(groove LINK_PUBLIC ${LIBAV_AVUTIL_LIBRARIES})
   include_directories(${LIBAV_INCLUDE_DIRS})
 endif()
-target_link_libraries(groove ${CMAKE_THREAD_LIBS_INIT})
+target_link_libraries(groove LINK_PUBLIC ${CMAKE_THREAD_LIBS_INIT})
 
 
 add_library(groove_static STATIC ${LIBGROOVE_SOURCES} ${LIBGROOVE_HEADERS})
@@ -299,7 +299,7 @@ else()
     VERSION ${LIBGROOVE_VERSION}
     COMPILE_FLAGS ${LIB_CFLAGS}
     )
-  target_link_libraries(grooveplayer groove)
+  target_link_libraries(grooveplayer LINK_PUBLIC groove)
   add_dependencies(grooveplayer groove)
   if(SDL2_IS_BUNDLED)
     target_link_libraries(grooveplayer SDL2-static)
@@ -342,7 +342,7 @@ else()
     VERSION ${LIBGROOVE_VERSION}
     COMPILE_FLAGS ${LIB_CFLAGS}
     )
-  target_link_libraries(grooveloudness groove ${CMAKE_THREAD_LIBS_INIT})
+  target_link_libraries(grooveloudness LINK_PUBLIC groove ${CMAKE_THREAD_LIBS_INIT})
   add_dependencies(grooveloudness groove)
   if(EBUR128_IS_BUNDLED)
     target_link_libraries(grooveloudness ebur128_static)

-- 
libgroove packaging



More information about the pkg-multimedia-commits mailing list