mirror of
https://github.com/boostorg/graph.git
synced 2025-05-10 07:23:58 +00:00
Do not define BOOST_GRAPH_SOURCE in CMakeLists.txt
This commit is contained in:
parent
d865589d62
commit
6bae630c38
@ -1,5 +1,4 @@
|
||||
# Generated by `boostdep --cmake graph`
|
||||
# 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
|
||||
|
||||
@ -64,7 +63,8 @@ target_link_libraries(boost_graph
|
||||
|
||||
target_compile_definitions(boost_graph
|
||||
PUBLIC BOOST_GRAPH_NO_LIB
|
||||
PRIVATE BOOST_GRAPH_SOURCE
|
||||
# Source files already define BOOST_GRAPH_SOURCE
|
||||
# PRIVATE BOOST_GRAPH_SOURCE
|
||||
)
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
@ -78,4 +78,3 @@ if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
||||
add_subdirectory(test)
|
||||
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user