--- a/src/CMakeLists.txt Mon Jan 20 13:19:23 2020 +0100
+++ b/src/CMakeLists.txt Mon Jan 20 15:48:39 2020 +0100
@@ -34,7 +34,7 @@
)
# Link libraries:
-target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIBS_LIBRARIES} stdc++fs)
+target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIBS_LIBRARIES} stdc++fs rt)
set_property(TARGET ${EXECUTABLE_FILE} PROPERTY CXX_STANDARD 17)
set_property(TARGET ${EXECUTABLE_FILE} PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE)
--- a/src/ParallelFilesystemCommand.h Mon Jan 20 13:19:23 2020 +0100
+++ b/src/ParallelFilesystemCommand.h Mon Jan 20 15:48:39 2020 +0100
@@ -16,6 +16,8 @@
*/
#pragma once
+#include <mqueue.h>
+
#include "FilesystemCommand.h"
namespace relpipe {
@@ -30,6 +32,7 @@
void process(std::istream& input, std::ostream& output, Configuration& configuration) {
// TODO: ParallelFilesystemCommand
+ mq_close(0); // FIXME: remove (this line just tests that linking to librt worked well)
throw RelpipeWriterException(L"ParallelFilesystemCommand is not yet implemented");
}
};