Bladeren bron

added core/async/Executor to CMakeLists

lganzzzo 5 jaren geleden
bovenliggende
commit
be7ef952e4
2 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 2 0
      CMakeLists.txt
  2. 2 0
      core/async/Executor.hpp

+ 2 - 0
CMakeLists.txt

@@ -24,6 +24,8 @@ add_library(oatpp
     core/async/Coroutine.hpp
     core/async/Processor.cpp
     core/async/Processor.hpp
+    core/async/Executor.cpp
+    core/async/Executor.hpp
     core/base/CommandLineArguments.cpp
     core/base/CommandLineArguments.hpp
     core/base/Config.hpp

+ 2 - 0
core/async/Executor.hpp

@@ -33,6 +33,8 @@
 #include "oatpp/core/collection/LinkedList.hpp"
 
 #include <tuple>
+#include <mutex>
+#include <condition_variable>
 
 namespace oatpp { namespace async {