From 8aee7d1202cd1063a4c1fcd62a39176bfb1f3414 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 11 Jun 2014 21:35:09 +0000 Subject: QPID-5807: Remove boost::program_options as a header file dependency of qpid/Options.h - The intent here is to remove the necessity for things using qpid::Options to need to link boost::program_options directly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602021 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'qpid/cpp/bindings') diff --git a/qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt b/qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt index 0e1e00d34e..32fce36e1d 100644 --- a/qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt +++ b/qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt @@ -35,8 +35,6 @@ include_directories( ${Boost_INCLUDE_DIR} ) link_directories( ${Boost_LIBRARY_DIRS} ) # Visual Studio needs some Windows-specific simplifications. -# Linux needs to reference the boost libs, even though they should be -# resolved via the Qpid libs. if (MSVC) add_definitions( /D "NOMINMAX" /D "WIN32_LEAN_AND_MEAN" /D "BOOST_ALL_DYN_LINK" ) # On Windows, prevent the accidental inclusion of Boost headers from @@ -44,9 +42,6 @@ if (MSVC) # Boost in the examples, and references via qpidclient/qpidcommon are # resolved in the Qpid libs. add_definitions( /D "BOOST_ALL_NO_LIB" ) -else (MSVC) - set(_boost_libs_needed ${Boost_PROGRAM_OPTIONS_LIBRARY} - ${Boost_FILESYSTEM_LIBRARY}) endif (MSVC) # There are numerous duplicate names within the examples. Since all target -- cgit v1.2.1