Skip to content

Commit

Permalink
Merge pull request #473 from scchan/fix_lib_fedora_2
Browse files Browse the repository at this point in the history
[CMAKE] force all hcc libraries to be installed in the lib directory
  • Loading branch information
whchung authored Sep 28, 2017
2 parents 7aa9a45 + 3ab8048 commit 9d4843e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ install(PROGRAMS $<TARGET_FILE:LLVMAMDGPUDesc>
COMPONENT compiler
)

# force library install path to lib
set(CMAKE_INSTALL_LIBDIR "lib" CACHE INTERNAL "Installation directory for libraries" FORCE)

install(FILES ${CLANG_BIN_DIR}/lib/clang/6.0.0/lib/linux/libclang_rt.builtins-x86_64.a
DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT compiler)
Expand Down

0 comments on commit 9d4843e

Please sign in to comment.