Skip to content

Commit 3fc7d3d

Browse files
committed
Added boost include dir.
1 parent 46058a6 commit 3fc7d3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ pkg_check_modules(SYSTEMD REQUIRED IMPORTED_TARGET libsystemd)
2727

2828
message(STATUS "${SYSTEMD}")
2929

30-
target_link_libraries(dbus-glue PUBLIC PkgConfig::SYSTEMD -lpthread)
30+
find_package(Boost 1.80.0 REQUIRED)
31+
32+
target_link_libraries(dbus-glue PUBLIC PkgConfig::SYSTEMD -lpthread Boost::boost)
3133
target_include_directories(dbus-glue
3234
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
3335

0 commit comments

Comments
 (0)