diff options
| author | FrostyLeaves <654065929@qq.com> | 2025-04-02 15:00:32 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-02 07:00:32 +0000 |
| commit | 3ebfe7f7c91a9ca356a6940b8878f1fc926be6aa (patch) | |
| tree | a2c894142c368169b5be87d20dee9e1a66f1c590 | |
| parent | 2494588c487d708fcd4fed54a9446613bdb3b675 (diff) | |
fix: Export slangTargets.cmake (#6679)
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
