Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/benchmarks/apib/files/patch-apib_CMakeLists.txt
16462 views
1
--- apib/CMakeLists.txt.orig 2020-04-15 05:06:21 UTC
2
+++ apib/CMakeLists.txt
3
@@ -22,7 +22,7 @@ target_link_libraries(common PUBLIC -lhttp_parser
4
5
add_library(
6
cpu OBJECT
7
- apib_cpu_generic.cc
8
+ apib_cpu_bsd.cc
9
)
10
target_link_libraries(cpu PUBLIC common)
11
12
@@ -44,7 +44,7 @@ add_library(
13
socket.h
14
tlssocket.h
15
)
16
-target_link_libraries(io PUBLIC common base64 -lev -lssl.1.1 -lcrypto.1.1)
17
+target_link_libraries(io PUBLIC common base64 -lev -lpthread -lssl -lcrypto)
18
19
add_library(
20
mon_lib OBJECT
21
@@ -65,3 +65,7 @@ add_executable(
22
)
23
target_link_libraries(apibmon mon_lib io cpu common base64)
24
25
+install(TARGETS
26
+ apib apibmon
27
+ DESTINATION bin
28
+)
29
30