Skip to content

Commit

Permalink
Merge pull request #7 from bringauto/BAF-809/fix-linking
Browse files Browse the repository at this point in the history
Update fleet-http-api version
  • Loading branch information
Melky-Phoe authored Apr 4, 2024
2 parents f1ec25a + 26682c6 commit e2677de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ ENDIF ()
FIND_PACKAGE(nlohmann_json 3.10.5 REQUIRED)
FIND_PACKAGE(fleet-protocol-cxx-helpers-static 1.1.1 REQUIRED)
FIND_PACKAGE(fleet-protocol-interface 2.0.0 REQUIRED)
FIND_PACKAGE(fleet-http-client-shared 1.2.1 REQUIRED)
FIND_PACKAGE(fleet-http-client-shared 1.2.2 REQUIRED)

### fleet-http-client dependencies
FIND_PACKAGE(Boost REQUIRED)
FIND_PACKAGE(cpprestsdk REQUIRED)
FIND_PACKAGE(libbringauto_logger 1.2.0 REQUIRED)
### fleet-http-client dependencies


FILE(GLOB_RECURSE HEADERS "include/*")
ADD_LIBRARY(io_module_hpp INTERFACE ${HEADERS})
TARGET_INCLUDE_DIRECTORIES(io_module_hpp INTERFACE "include/")
Expand Down Expand Up @@ -70,10 +71,8 @@ TARGET_LINK_LIBRARIES(io-external-server-shared
PRIVATE
io_module_sources
fleet-http-client-shared::fleet-http-client-shared
bringauto_logger::bringauto_logger
PUBLIC
fleet-protocol-interface::module-maintainer-external-server-interface

)

CMDEF_ADD_LIBRARY(
Expand Down
2 changes: 1 addition & 1 deletion cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BA_PACKAGE_LIBRARY(nlohmann-json v3.10.5 PLATFORM_STRING_
BA_PACKAGE_LIBRARY(zlib v1.2.11)
BA_PACKAGE_LIBRARY(fleet-protocol-cxx-helpers-static v1.1.1)
BA_PACKAGE_LIBRARY(fleet-protocol-interface v2.0.0 PLATFORM_STRING_MODE any_machine NO_DEBUG ON)
BA_PACKAGE_LIBRARY(fleet-http-client-shared v1.2.1)
BA_PACKAGE_LIBRARY(fleet-http-client-shared v1.2.2)
BA_PACKAGE_LIBRARY(boost v1.78.0)
BA_PACKAGE_LIBRARY(cpprestsdk v2.10.20)
BA_PACKAGE_LIBRARY(ba-logger v1.2.0)

0 comments on commit e2677de

Please sign in to comment.