This removes the unneeded linking of openobex example apps against libusb

---
 lib/CMakeLists.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index a98298f..f63945e 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -155,6 +155,8 @@ add_library ( openobex
 target_link_libraries ( openobex
   ${openobex_LIBRARIES}
 )
+#disable link chaining
+set_property(TARGET openobex PROPERTY LINK_INTERFACE_LIBRARIES "")
 
 foreach ( i ${openobex_PROPERTIES} )
   if ( DEFINED openobex_${i} )
-- 
1.5.6.5

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to