summaryrefslogtreecommitdiffstats
path: root/source/slang-rt
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-12-05 17:45:24 +0800
committerGitHub <noreply@github.com>2024-12-05 09:45:24 +0000
commit072cb60bb63e9f3d1c42fa18adcebb77bb4aa6ae (patch)
treef123367640c89e8d112009ccd6fb389a6a24ee92 /source/slang-rt
parent3f4b3112871bb978ee5104fd36321345da35a8d1 (diff)
Remove duplicate call to install() for libslang (#5767)
Closes https://github.com/shader-slang/slang/issues/5764 Also mention other installed targets in cmake config
Diffstat (limited to 'source/slang-rt')
-rw-r--r--source/slang-rt/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang-rt/CMakeLists.txt b/source/slang-rt/CMakeLists.txt
index 2dc56355e..5a0d2881e 100644
--- a/source/slang-rt/CMakeLists.txt
+++ b/source/slang-rt/CMakeLists.txt
@@ -10,5 +10,10 @@ if(SLANG_ENABLE_SLANGRT)
EXPORT_MACRO_PREFIX SLANG_RT
INCLUDE_DIRECTORIES_PUBLIC ${slang_SOURCE_DIR}/include
INSTALL
+ # This depends on unordered_dense in the header, so we can't export
+ # this via cmake without obligating ourselves to also install our
+ # bundled version of unordered_dense, give it this different export set
+ # name so we don't attempt to export it
+ EXPORT_SET_NAME SlangRTTargets
)
endif()