summaryrefslogtreecommitdiff
path: root/cpp/examples
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/examples')
-rw-r--r--cpp/examples/messaging/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpp/examples/messaging/CMakeLists.txt b/cpp/examples/messaging/CMakeLists.txt
index 7c023e602a..88ab81dae9 100644
--- a/cpp/examples/messaging/CMakeLists.txt
+++ b/cpp/examples/messaging/CMakeLists.txt
@@ -17,10 +17,12 @@
# under the License.
#
-# disabling spout & drain under cmake until build issues on windows
-# are resolved (QPID-2212):
-#add_example(messaging drain ${Boost_PROGRAM_OPTIONS_LIBRARY})
-#add_example(messaging spout ${Boost_PROGRAM_OPTIONS_LIBRARY})
+# disabling spout & drain on windows until build issues are resolved
+# (QPID-2212):
+if (NOT MSVC)
+ add_example(messaging drain)
+ add_example(messaging spout)
+endif (NOT MSVC)
add_example(messaging queue_receiver)
add_example(messaging queue_sender)