aboutsummaryrefslogtreecommitdiff
path: root/ports/libtorrent/add-datetime-to-boost-libs.patch
blob: 1ec65a8f5f92ff124e31d0d197f5f3231150a351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 944602b..9d95446 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -678,9 +678,9 @@ else()
 endif()
 
 # Boost
-find_public_dependency(Boost REQUIRED COMPONENTS system)
+find_public_dependency(Boost REQUIRED COMPONENTS system date_time)
 target_include_directories(torrent-rasterbar PUBLIC ${Boost_INCLUDE_DIRS})
-target_link_libraries(torrent-rasterbar PUBLIC ${Boost_SYSTEM_LIBRARY})
+target_link_libraries(torrent-rasterbar PUBLIC ${Boost_LIBRARIES})
 
 if (exceptions)
 	if (MSVC)