summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-30 12:22:27 (GMT)
committerBrad King <brad.king@kitware.com>2022-06-30 12:22:27 (GMT)
commit529004738abd78fa8ae9d7197e7fb67721245904 (patch)
treea45c7d7449fafff078b9af7ea013b22dbab80269 /Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport.cmake
parent49a974165674e8ba6cd7159858b8ec31220a1b6a (diff)
parent3fee5398bd381e3721972220a8415b62bc96b172 (diff)
downloadCMake-529004738abd78fa8ae9d7197e7fb67721245904.zip
CMake-529004738abd78fa8ae9d7197e7fb67721245904.tar.gz
CMake-529004738abd78fa8ae9d7197e7fb67721245904.tar.bz2
Merge branch 'file-set-crash' into release-3.23
Merge-request: !7420
Diffstat (limited to 'Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport.cmake')
-rw-r--r--Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport.cmake b/Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport.cmake
new file mode 100644
index 0000000..72fab47
--- /dev/null
+++ b/Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport.cmake
@@ -0,0 +1,6 @@
+enable_language(C)
+
+add_library(lib1 STATIC empty.c)
+install(TARGETS lib1 EXPORT a)
+target_sources(lib1 INTERFACE FILE_SET a TYPE HEADERS BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} FILES h1.h)
+export(EXPORT a)