]> git.sesse.net Git - vlc/commitdiff
Fix erroneous [25032].
authorPavlov Konstantin <thresh@videolan.org>
Sat, 9 Feb 2008 16:32:03 +0000 (16:32 +0000)
committerPavlov Konstantin <thresh@videolan.org>
Sat, 9 Feb 2008 16:32:03 +0000 (16:32 +0000)
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt

index 3090f473759b6a3153752eaf4bf32fd8a16a9754..5bd082955d940faa6f62378b478a4745010cc9df 100644 (file)
@@ -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" )