From 072cb60bb63e9f3d1c42fa18adcebb77bb4aa6ae Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Thu, 5 Dec 2024 17:45:24 +0800 Subject: 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 --- tools/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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 $) -- cgit v1.2.3