diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-12-05 17:45:24 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-05 09:45:24 +0000 |
| commit | 072cb60bb63e9f3d1c42fa18adcebb77bb4aa6ae (patch) | |
| tree | f123367640c89e8d112009ccd6fb389a6a24ee92 /tools | |
| parent | 3f4b3112871bb978ee5104fd36321345da35a8d1 (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 'tools')
| -rw-r--r-- | tools/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 900101a39..dfa19d42f 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -39,6 +39,7 @@ function(generator dir) REQUIRED_BY all-generators FOLDER generators INSTALL_COMPONENT generators + EXPORT_SET_NAME SlangGeneratorTargets ${ARGN} ) endif() @@ -93,6 +94,7 @@ if(SLANG_ENABLE_SLANGD) slang-capability-defs Threads::Threads INSTALL + EXPORT_SET_NAME SlangTargets ) endif() @@ -152,6 +154,7 @@ if(SLANG_ENABLE_GFX) ${slang_SOURCE_DIR}/include REQUIRES copy-gfx-slang-modules INSTALL + EXPORT_SET_NAME SlangTargets FOLDER gfx ) set(modules_dest_dir $<TARGET_FILE_DIR:slang-test>) |
