Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates-src > by-pkgid > c8adf57bffe08ad612fd17fce38c62a7 > files > 9

libtorrent-rasterbar-0.16.18-1.2.mga5.src.rpm

--- CMakeLists.txt.link	2012-07-31 05:39:17.000000000 +0000
+++ CMakeLists.txt	2012-07-31 05:44:35.000000000 +0000
@@ -167,6 +167,7 @@
 endif (NOT Boost_VERSION LESS 103500)
 include_directories(${Boost_INCLUDE_DIR})
 target_link_libraries(torrent-rasterbar ${Boost_LIBRARIES})
+target_link_libraries(torrent-rasterbar pthread rt)
 
 # this works around a bug in asio in boost-1.39
 add_definitions(-DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_ASIO_DYN_LINK -D__USE_W32_SOCKETS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0500)
@@ -193,6 +194,8 @@
 
 if (NOT geoip)
 	add_definitions(-DTORRENT_DISABLE_GEO_IP)
+else(NOT geoip)
+	target_link_libraries(torrent-rasterbar GeoIP)
 endif (NOT geoip)
 
 if (NOT resolve-countries)