Skip to content

Commit d813670

Browse files
committed
Rename boost_assert_HEADERS variable to headers, to facilitate copy-paste into other libraries
1 parent d20762a commit d813670

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ if(CMAKE_VERSION VERSION_GREATER 3.18)
2323

2424
# Using target_sources with PRIVATE or PUBLIC on INTERFACE targets requires 3.19
2525

26-
file(GLOB_RECURSE boost_assert_HEADERS CONFIGURE_DEPENDS include/*.hpp)
27-
target_sources(boost_assert PRIVATE ${boost_assert_HEADERS})
28-
source_group(TREE ${PROJECT_SOURCE_DIR}/include FILES ${boost_assert_HEADERS} PREFIX "include")
29-
unset(boost_assert_HEADERS)
26+
file(GLOB_RECURSE headers CONFIGURE_DEPENDS include/*.hpp)
27+
target_sources(boost_assert PRIVATE ${headers})
28+
source_group(TREE ${PROJECT_SOURCE_DIR}/include FILES ${headers} PREFIX "include")
29+
unset(headers)
3030

3131
if(MSVC)
3232

0 commit comments

Comments
 (0)