summaryrefslogtreecommitdiff
path: root/gpiodaemon
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2018-12-19 00:52:41 +0300
committerJames Feist <james.feist@linux.intel.com>2018-12-19 02:00:11 +0300
commitf145b95e4bf57a60413480214b879edd57f8497a (patch)
treed3dca1404b28b11cd16803452fc385f1cc86dac8 /gpiodaemon
parent866f9a25c9a2910567b2b48b0fe23ae5d4e48719 (diff)
downloadprovingground-f145b95e4bf57a60413480214b879edd57f8497a.tar.xz
gpiodaemon: Add phosphor-logging to link
We now have to link against it. Change-Id: Icf66d6de7b11a9ce020daf542334a5b67dc92e54 Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'gpiodaemon')
-rw-r--r--gpiodaemon/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpiodaemon/CMakeLists.txt b/gpiodaemon/CMakeLists.txt
index 9fca745..ca0e5ba 100644
--- a/gpiodaemon/CMakeLists.txt
+++ b/gpiodaemon/CMakeLists.txt
@@ -33,10 +33,12 @@ add_executable(${PROJECT_NAME} ${SRC_FILES})
target_link_libraries(${PROJECT_NAME} systemd)
target_link_libraries(${PROJECT_NAME} sdbusplus -lstdc++fs)
target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES})
+target_link_libraries(${PROJECT_NAME} phosphor_logging)
link_directories(${EXTERNAL_INSTALL_LOCATION}/lib)
set(SERVICE_FILES ${PROJECT_SOURCE_DIR}/gpiodaemon.service)
install(TARGETS ${PROJECT_NAME} DESTINATION sbin)
-install(FILES ${SERVICE_FILES} DESTINATION /lib/systemd/system/) \ No newline at end of file
+install(FILES ${SERVICE_FILES} DESTINATION /lib/systemd/system/)
+