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 --- source/slang-rt/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/slang-rt/CMakeLists.txt') 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() -- cgit v1.2.3