summaryrefslogtreecommitdiff
path: root/cpp/examples
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-12-15 08:23:19 +0000
committerGordon Sim <gsim@apache.org>2009-12-15 08:23:19 +0000
commit3baba3c1462930d78662492e0a083d63822b33d0 (patch)
tree412c45945a7e143124f1f1f59aae9dd054484a49 /cpp/examples
parent779f9c990d4053c7401f39abcddfabd354de68af (diff)
downloadqpid-python-3baba3c1462930d78662492e0a083d63822b33d0.tar.gz
QPID-2212: revert previous attempt at fix; disable on windows only
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890683 13f79535-47bb-0310-9956-ffa450edef68
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)