Disable boost coroutine deprecation warning 23/192723/1 accepted/tizen/unified/20181109.062841 submit/tizen/20181109.001420
authorKonrad Lipinski <k.lipinski2@partner.samsung.com>
Thu, 8 Nov 2018 14:44:28 +0000 (15:44 +0100)
committerKonrad Lipinski <k.lipinski2@partner.samsung.com>
Thu, 8 Nov 2018 14:46:28 +0000 (15:46 +0100)
Boost coroutines is now deprecated and replace by coroutines2 which is
not in the repo yet.

Change-Id: I6096d1129fd7e8aaedbbadf6f1e7f5ad347b2ae4

CMakeLists.txt

index 53d6468367b6a111379266e1cf951eb1068bd24c..f74dc14fa7e97dd503f485d9e8a8282a7ef6dac9 100644 (file)
@@ -37,6 +37,8 @@ ADD_DEFINITIONS("-D_SECOS_SIM_")
 
 # Disable std::array in boost - daemon is built around boost's implementation of array
 ADD_DEFINITIONS("-DBOOST_ASIO_DISABLE_STD_ARRAY")
+#FIXME coroutines is already deprecated and coroutines2 is not yet in the repo
+ADD_DEFINITIONS("-DBOOST_COROUTINES_NO_DEPRECATION_WARNING")
 
 ADD_DEFINITIONS("-D_GNU_SOURCE")