Skip to content

Commit

Permalink
Added boost include dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
5cript committed Jan 18, 2024
1 parent 46058a6 commit 3fc7d3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ pkg_check_modules(SYSTEMD REQUIRED IMPORTED_TARGET libsystemd)

message(STATUS "${SYSTEMD}")

target_link_libraries(dbus-glue PUBLIC PkgConfig::SYSTEMD -lpthread)
find_package(Boost 1.80.0 REQUIRED)

target_link_libraries(dbus-glue PUBLIC PkgConfig::SYSTEMD -lpthread Boost::boost)
target_include_directories(dbus-glue
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")

Expand Down

0 comments on commit 3fc7d3d

Please sign in to comment.