Link librt into fdbmonitor

This commit is contained in:
Andrew Noyes 2019-01-25 13:16:46 -08:00
parent ebab9c44f4
commit 8fc88306cf
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
set(FDBMONITOR_SRCS ConvertUTF.h SimpleIni.h fdbmonitor.cpp) set(FDBMONITOR_SRCS ConvertUTF.h SimpleIni.h fdbmonitor.cpp)
add_executable(fdbmonitor ${FDBMONITOR_SRCS}) add_executable(fdbmonitor ${FDBMONITOR_SRCS})
target_link_libraries(fdbmonitor rt)
# FIXME: This include directory is an ugly hack. We probably want to fix this # FIXME: This include directory is an ugly hack. We probably want to fix this
# as soon as we get rid of the old build system # as soon as we get rid of the old build system
target_include_directories(fdbmonitor PRIVATE ${CMAKE_BINARY_DIR}/fdbclient) target_include_directories(fdbmonitor PRIVATE ${CMAKE_BINARY_DIR}/fdbclient)