Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
bartpomietlo authored Sep 10, 2024
1 parent a60bbc3 commit 19f18e0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ FetchContent_Declare(
)
FetchContent_MakeAvailable(boost)

# Wykrywanie komponentów Boost
find_package(Boost REQUIRED COMPONENTS system thread coroutine log)
# Wykrywanie komponentów Boost, w tym Boost.Beast i Boost.Asio
find_package(Boost REQUIRED COMPONENTS system thread coroutine log beast asio)

# SQLite3 (przy założeniu, że pliki źródłowe są lokalne)
# Znajdowanie SQLite3
find_package(SQLite3 REQUIRED)

# SQLite3 (jeśli pliki źródłowe są lokalne)
file(GLOB SQLITE_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/sqlite")
file(GLOB SQLITE_SOURCE_FILES "${CMAKE_SOURCE_DIR}/sqlite/sqlite3.c")

Expand Down Expand Up @@ -51,7 +54,9 @@ target_link_libraries(Exchange_Web_App PRIVATE
Boost::thread
Boost::coroutine
Boost::log
SQLite3::SQLite3
Boost::beast
Boost::asio
SQLite::SQLite3
)

enable_testing()
Expand Down

0 comments on commit 19f18e0

Please sign in to comment.