File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments