Skip to content

Commit f97b82f

Browse files
committed
Quote directory in source_group
1 parent d813670 commit f97b82f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ if(CMAKE_VERSION VERSION_GREATER 3.18)
2525

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

3131
if(MSVC)
3232

3333
# Only Visual Studio needs this, but the generator may also be Ninja
3434
target_sources(boost_assert PUBLIC extra/boost_assert.natvis)
35-
source_group(TREE ${PROJECT_SOURCE_DIR}/extra FILES extra/boost_assert.natvis PREFIX "extra")
35+
source_group(TREE "${PROJECT_SOURCE_DIR}/extra" FILES extra/boost_assert.natvis PREFIX "extra")
3636

3737
endif()
3838

0 commit comments

Comments
 (0)