[SCM] libgroove/upstream: build: link player with -lrt for clock_gettime. closes #67
andrewrk-guest at users.alioth.debian.org
andrewrk-guest at users.alioth.debian.org
Sat May 31 19:00:02 UTC 2014
The following commit has been merged in the upstream branch:
commit 44e36565671a1886aff2b3761535d568a8efe10b
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Sat May 31 09:41:04 2014 -0700
build: link player with -lrt for clock_gettime. closes #67
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0cf792e..eaf17bf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -328,6 +328,9 @@ else()
COMPILE_FLAGS ${LIB_CFLAGS}
)
target_link_libraries(grooveplayer LINK_PUBLIC groove)
+ if(UNIX)
+ target_link_libraries(grooveplayer LINK_PRIVATE rt)
+ endif(UNIX)
add_dependencies(grooveplayer groove)
if(SDL2_IS_BUNDLED)
target_link_libraries(grooveplayer SDL2-static)
--
libgroove packaging
More information about the pkg-multimedia-commits
mailing list