Skip to content

Commit 70bf9b6

Browse files
committed
Rename boost_assert_IDEFILES variable to boost_assert_HEADERS
1 parent 1069d7b commit 70bf9b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ if(CMAKE_VERSION VERSION_GREATER 3.18 AND CMAKE_GENERATOR MATCHES "Visual Studio
2323

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

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

3031
target_sources(boost_assert PUBLIC extra/boost_assert.natvis)
3132

0 commit comments

Comments
 (0)