This commit is contained in:
Olivier Le Doeuff 2022-08-04 18:25:29 +02:00 committed by GitHub
commit 0b7815ba4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ if (UUID_TIME_GENERATOR)
endif()
# Using span from std
if (NOT UUID_USING_CXX20_SPAN)
if (NOT UUID_USING_CXX20_SPAN AND NOT TARGET GSL)
target_include_directories(${PROJECT_NAME} INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include>)