Skip to content

Commit

Permalink
test that stdexec/ and exec/ headers are self-contained with the VERI…
Browse files Browse the repository at this point in the history
…FY_INTERFACE_HEADER_SETS property
  • Loading branch information
ericniebler committed Jan 22, 2025
1 parent 96e60e7 commit 6c8f7dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ set_target_properties(stdexec PROPERTIES
VERSION "${STDEXEC_VERSION}"
SOVERSION "${STDEXEC_VERSION_MAJOR}")

if (BUILD_TESTING)
# Test headers are self-contained
set_target_properties(stdexec PROPERTIES
VERIFY_INTERFACE_HEADER_SETS TRUE)
endif()

# Declare the public include directories
include(GNUInstallDirs)

Expand Down

0 comments on commit 6c8f7dc

Please sign in to comment.