Skip to content

Commit

Permalink
Merge pull request #15 from topazus/fix-install-path
Browse files Browse the repository at this point in the history
CMake: Avoid hardcoded path
  • Loading branch information
liuyangzhuan authored Jun 4, 2024
2 parents 5bb6b89 + 172816c commit a842ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/butterflypack.pc.in ${CMAKE_CURRENT_B
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/butterflypack.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)

set(ConfigPackageLocation lib/cmake/ButterflyPACK)
set(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/ButterflyPACK)
install(EXPORT MYBPACKTargets FILE butterflypack-targets.cmake
NAMESPACE ButterflyPACK:: DESTINATION ${ConfigPackageLocation})

Expand Down

0 comments on commit a842ce1

Please sign in to comment.