From 217fb4e6cbcd563b33d448b34fcf0daab74ea044 Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Thu, 10 Jan 2019 14:31:11 -0800 Subject: [PATCH] Fix the CMake build. This change was originally authored by @mpilman as part of #1005, but is something that can instead be merged quickly and easily. --- fdbmonitor/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fdbmonitor/CMakeLists.txt b/fdbmonitor/CMakeLists.txt index 7d035f77d0..361b25b44b 100644 --- a/fdbmonitor/CMakeLists.txt +++ b/fdbmonitor/CMakeLists.txt @@ -1,6 +1,9 @@ set(FDBMONITOR_SRCS ConvertUTF.h SimpleIni.h fdbmonitor.cpp) add_executable(fdbmonitor ${FDBMONITOR_SRCS}) +# 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 +target_include_directories(fdbmonitor PRIVATE ${CMAKE_BINARY_DIR}/fdbclient) target_link_libraries(fdbmonitor flow) install(TARGETS fdbmonitor DESTINATION "${FDB_LIB_DIR}/foundationdb" COMPONENT server)