Skip to content

Commit 6c8f7dc

Browse files
committed
test that stdexec/ and exec/ headers are self-contained with the VERIFY_INTERFACE_HEADER_SETS property
1 parent 96e60e7 commit 6c8f7dc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ set_target_properties(stdexec PROPERTIES
175175
VERSION "${STDEXEC_VERSION}"
176176
SOVERSION "${STDEXEC_VERSION_MAJOR}")
177177

178+
if (BUILD_TESTING)
179+
# Test headers are self-contained
180+
set_target_properties(stdexec PROPERTIES
181+
VERIFY_INTERFACE_HEADER_SETS TRUE)
182+
endif()
183+
178184
# Declare the public include directories
179185
include(GNUInstallDirs)
180186

0 commit comments

Comments
 (0)