summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
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