Do not define BOOST_TYPE_ERASURE_SOURCE in CMakeLists.txt

This commit is contained in:
Peter Dimov
2021-06-09 18:38:22 +03:00
parent 4372eaba70
commit ac70ad6a06
+3 -3
View File
@@ -1,5 +1,4 @@
# Generated by `boostdep --cmake type_erasure`
# 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
@@ -36,7 +35,8 @@ target_link_libraries(boost_type_erasure
target_compile_definitions(boost_type_erasure
PUBLIC BOOST_TYPE_ERASURE_NO_LIB
PRIVATE BOOST_TYPE_ERASURE_SOURCE
# Source files already define BOOST_TYPE_ERASURE_SOURCE
# PRIVATE BOOST_TYPE_ERASURE_SOURCE
)
if(BUILD_SHARED_LIBS)