From e485e51310d8e40e78a096c1b0804d055aed90a0 Mon Sep 17 00:00:00 2001 From: Pavlov Konstantin Date: Sat, 9 Feb 2008 16:32:03 +0000 Subject: [PATCH] Fix erroneous [25032]. --- extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt index 3090f47375..5bd082955d 100644 --- a/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt +++ b/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt @@ -260,7 +260,9 @@ if(NOT APPLE) set(LINK_FLAGS "-z defs --as-needed") endif(NOT APPLE) -set_target_properties(libvlc libvlc-control PROPERTIES LDFLAGS "${LINK_FLAGS} ${CMAKE_THREAD_LIBS_INIT}") +target_link_libraries(libvlc "${CMAKE_THREAD_LIBS_INIT}") +target_link_libraries(libvlc-control "${CMAKE_THREAD_LIBS_INIT}") + set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS "-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -I${CMAKE_BINARY_DIR}/src -I${CMAKE_BINARY_DIR}/include" ) -- 2.39.2