Skip to content

Commit 827426d

Browse files
committed
Do not define BOOST_PROGRAM_OPTIONS_SOURCE in CMakeLists.txt
1 parent e9403da commit 827426d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Generated by `boostdep --cmake program_options`
2-
# Copyright 2020 Peter Dimov
1+
# Copyright 2020, 2021 Peter Dimov
32
# Distributed under the Boost Software License, Version 1.0.
43
# https://www.boost.org/LICENSE_1_0.txt
54

@@ -45,7 +44,8 @@ target_link_libraries(boost_program_options
4544

4645
target_compile_definitions(boost_program_options
4746
PUBLIC BOOST_PROGRAM_OPTIONS_NO_LIB
48-
PRIVATE BOOST_PROGRAM_OPTIONS_SOURCE
47+
# Source files already define BOOST_PROGRAM_OPTIONS_SOURCE
48+
# PRIVATE BOOST_PROGRAM_OPTIONS_SOURCE
4949
)
5050

5151
if(BUILD_SHARED_LIBS)
@@ -59,4 +59,3 @@ if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
5959
add_subdirectory(test)
6060

6161
endif()
62-

0 commit comments

Comments
 (0)