From 3ebfe7f7c91a9ca356a6940b8878f1fc926be6aa Mon Sep 17 00:00:00 2001 From: FrostyLeaves <654065929@qq.com> Date: Wed, 2 Apr 2025 15:00:32 +0800 Subject: fix: Export slangTargets.cmake (#6679) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5471852a3..6c6b5eb93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -455,7 +455,7 @@ configure_package_config_file( # linkable targets. In this case do not export the targets. Otherwise, just # export the slang targets. if(NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten") - if(NOT ${SLANG_BUILD_TYPE} STREQUAL "STATIC") + if(NOT ${SLANG_LIB_TYPE} STREQUAL "STATIC") install( EXPORT SlangTargets FILE ${PROJECT_NAME}Targets.cmake -- cgit v1.2.3