Skip to content

Commit dabcc36

Browse files
Fix install of DPCTLSyclInterface to properly install DPCTLSyclInterface on Windows
1 parent 1ea8341 commit dabcc36

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

libsyclinterface/CMakeLists.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,16 +283,21 @@ install(TARGETS
283283
EXPORT DPCTLSyclInterface
284284
LIBRARY
285285
DESTINATION ${CMAKE_INSTALL_PREFIX}/dpctl
286+
ARCHIVE
287+
DESTINATION ${CMAKE_INSTALL_PREFIX}/dpctl
288+
RUNTIME
289+
DESTINATION ${CMAKE_INSTALL_PREFIX}/dpctl
286290
)
287291
install(DIRECTORY
288292
${CMAKE_CURRENT_SOURCE_DIR}/include/
289293
DESTINATION ${CMAKE_INSTALL_PREFIX}/dpctl/include
290294
FILES_MATCHING REGEX "\\.h(pp)?$"
291295
)
292296

293-
install(EXPORT DPCTLSyclInterface
294-
FILE DPCTLSyclInterface.cmake
295-
DESTINATION cmake/DPCTLSyclInterface
297+
install(EXPORT
298+
DPCTLSyclInterface
299+
FILE DPCTLSyclInterface.cmake
300+
DESTINATION cmake/DPCTLSyclInterface
296301
)
297302

298303
# Add sub-directory to build the dpctl C API test cases

0 commit comments

Comments
 (0)