Skip to content

Commit

Permalink
Updated lib name from upper case to lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarbojit2019 committed Jul 3, 2023
1 parent 8f5a46d commit f89d2f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions CMake/HipSOLVERConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
include(CMakeFindDependencyMacro)
find_dependency(MKLShim)

include ( "${CMAKE_CURRENT_LIST_DIR}/HipSOLVER.cmake" )
include ( "${CMAKE_CURRENT_LIST_DIR}/hipsolver.cmake" )
set_and_check(H4I_HipSOLVER_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
set(H4I_HipSOLVER_LIBRARIES H4I::HipSOLVER)
check_required_components(HipSOLVER)
set(H4I_HipSOLVER_LIBRARIES H4I::hipsolver)
check_required_components(hipsolver)
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(HipSOLVER
LANGUAGES CXX)


find_package(HIP REQUIRED)
find_package(hip REQUIRED)

include(GNUInstallDirs)
file(RELATIVE_PATH relRPath
Expand Down
12 changes: 6 additions & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,20 @@ install(FILES
)


install(EXPORT HipSOLVER
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/HipSOLVER
install(EXPORT hipsolver
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/hipsolver
NAMESPACE H4I::
)

include(CMakePackageConfigHelpers)

configure_package_config_file(${CMAKE_SOURCE_DIR}/CMake/HipSOLVERConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/HipSOLVERConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/hipsolverConfig.cmake
PATH_VARS CMAKE_INSTALL_INCLUDEDIR
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/HipSOLVER
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/hipsolver
)

install(FILES
${CMAKE_CURRENT_BINARY_DIR}/HipSOLVERConfig.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/HipSOLVER
${CMAKE_CURRENT_BINARY_DIR}/hipsolverConfig.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/hipsolver
)

0 comments on commit f89d2f5

Please sign in to comment.