Skip to content

Commit e676128

Browse files
committed
chore: Generate the std namespaced targets for mdspan
Signed-off-by: Sietze van Buuren <[email protected]>
1 parent 1c83c14 commit e676128

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ FetchContent_Declare(
3030
)
3131
add_definitions(-DMDSPAN_IMPL_STANDARD_NAMESPACE=std)
3232
set(MDSPAN_CXX_STANDARD ${CMAKE_CXX_STANDARD})
33+
set(MDSPAN_GENERATE_STD_NAMESPACE_TARGETS On)
3334

3435
FetchContent_MakeAvailable(pybind11 mdspan)
3536

0 commit comments

Comments
 (0)