File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -123,19 +123,19 @@ install(FILES
123
123
)
124
124
125
125
elseif (NOT TARGET SPIRVDLL )
126
- if (DEFINED SPIRV_PREBUILD_DIR )
127
- set (PREBUILT_SPIRVDLL_PATH "${SPIRV_PREBUILD_DIR} /lib" )
128
- endif ()
129
126
if (DEFINED WIN32 )
130
127
set (SPIRVDLL_NAME "SPIRVDLL.dll" )
131
128
else ()
132
129
set (SPIRVDLL_NAME "libSPIRVDLL.so" )
133
130
endif ()
131
+ if (DEFINED SPIRV_PREBUILD_DIR )
132
+ set (PREBUILT_SPIRVDLL_PATH "${SPIRV_PREBUILD_DIR} /lib" )
133
+ endif ()
134
134
find_file (SPIRVDLL_LIB
135
135
${SPIRVDLL_NAME}
136
136
PATHS ${PREBUILT_SPIRVDLL_PATH}
137
137
NO_DEFAULT_PATH
138
- )
138
+ )
139
139
if (NOT SPIRVDLL_LIB )
140
140
message (FATAL_ERROR "[VC] Cannot find SPIRVDLL in prebuilds" )
141
141
endif ()
@@ -151,6 +151,11 @@ elseif(NOT TARGET SPIRVDLL)
151
151
DESTINATION $< CONFIG> /lh64
152
152
RENAME ${INSTALL_SPRIRVDLL_NAME}
153
153
)
154
+ install (FILES ${SPIRVDLL_LIB}
155
+ CONFIGURATIONS ReleaseInternal
156
+ DESTINATION Release-Internal/lh64
157
+ RENAME ${INSTALL_SPRIRVDLL_NAME}
158
+ )
154
159
endif ()
155
160
else ()
156
161
install (FILES
You can’t perform that action at this time.
0 commit comments