Skip to content

Commit

Permalink
fix(lci/ucx): fix "FindUCX.cmake is missing" problems
Browse files Browse the repository at this point in the history
  • Loading branch information
JiakunYan committed Mar 21, 2024
1 parent 1bd0f54 commit ca0f3bc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,11 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
PATTERN "*.h")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/liblci.pc"
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
install(
FILES "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/Find${FABRIC}.cmake"
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/LCI)
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/Find${FABRIC}.cmake")
install(
FILES "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/Find${FABRIC}.cmake"
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/LCI)
endif()
install(PROGRAMS lcrun DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
install(
Expand Down

0 comments on commit ca0f3bc

Please sign in to comment.