Skip to content

Commit

Permalink
Add missing binary component to install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Beanavil committed Jan 7, 2025
1 parent 3d22aac commit 77d461b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
13 changes: 9 additions & 4 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,15 @@ foreach(UTIL_LIB_NAME IN ITEMS Utils UtilsCpp)
install(
TARGETS ${UTIL_LIB_TARGET}
EXPORT OpenCL${UTIL_LIB_NAME}Targets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT binary
ARCHIVE
DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT binary
LIBRARY
DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT binary
RUNTIME
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT binary
)
install(
DIRECTORY include/CL/Utils
Expand Down
13 changes: 9 additions & 4 deletions lib/src/Extensions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,15 @@ if (OPENCL_EXTENSION_LOADER_INSTALL)

install(TARGETS OpenCLExt
EXPORT OpenCLExtensionLoaderTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT binary
RUNTIME
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT binary
ARCHIVE
DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT binary
LIBRARY
DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT binary
)

export(EXPORT OpenCLExtensionLoaderTargets
Expand Down

0 comments on commit 77d461b

Please sign in to comment.