Skip to content

Commit b5ec99e

Browse files
authored
add CURL to CMAKE project (#420)
1 parent 41b241a commit b5ec99e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/network_systems/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ if(UNIT_TEST)
6767
set(GTEST_LINK_LIBS gtest gtest_main)
6868
endif()
6969

70+
# CURL
71+
find_package(CURL REQUIRED)
72+
7073
# Add src directories
7174
add_subdirectory(lib)
7275
add_subdirectory(projects)

src/network_systems/projects/remote_transceiver/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(module remote_transceiver)
22

33
set(link_libs
44
${PROTOBUF_LINK_LIBS}
5+
${CURL_LIBRARIES}
56
mongo::mongocxx_shared
67
mongo::bsoncxx_shared
78
sailbot_db
@@ -12,6 +13,7 @@ set(inc_dirs
1213
${LIBMONGOCXX_INCLUDE_DIRS}
1314
${LIBBSONCXX_INCLUDE_DIRS}
1415
${SAILBOT_DB_INC_DIR}
16+
${CURL_INCLUDE_DIR}
1517
)
1618

1719
set(compile_defs

0 commit comments

Comments
 (0)