From a1565bc43957bf498e6c267cedd64b4d81917660 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 9 Jun 2021 18:50:22 +0300 Subject: [PATCH] Do not define BOOST_CONTAINER_SOURCE in CMakeLists.txt --- CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39dc980..88fbcac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,4 @@ -# Generated by `boostdep --cmake container` -# Copyright 2020 Peter Dimov +# Copyright 2020, 2021 Peter Dimov # Distributed under the Boost Software License, Version 1.0. # https://www.boost.org/LICENSE_1_0.txt @@ -35,7 +34,8 @@ target_link_libraries(boost_container target_compile_definitions(boost_container PUBLIC BOOST_CONTAINER_NO_LIB - PRIVATE BOOST_CONTAINER_SOURCE + # Source files already define BOOST_CONTAINER_SOURCE + # PRIVATE BOOST_CONTAINER_SOURCE ) if(BUILD_SHARED_LIBS) @@ -49,4 +49,3 @@ if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt") add_subdirectory(test) endif() -