File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
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 ()
126
129
if (DEFINED WIN32 )
127
130
set (SPIRVDLL_NAME "SPIRVDLL.dll" )
128
131
else ()
129
132
set (SPIRVDLL_NAME "libSPIRVDLL.so" )
130
133
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,11 +151,6 @@ 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
- )
159
154
endif ()
160
155
else ()
161
156
install (FILES
You can’t perform that action at this time.
0 commit comments