diff options
author | Petr Hosek <phosek@chromium.org> | 2018-01-11 00:12:03 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2018-01-11 00:12:03 +0000 |
commit | e3b7aea56eff43c0106bb9ab3176cc5783cf3fda (patch) | |
tree | 87b480aff8adf17c3d2c3ee44a8883016ab83197 /cmake/Modules | |
parent | 02894dbfc6e3775aa06b42bcff0ca3c33b069332 (diff) |
Revert "Install resource files into a share/ directory"
This reverts commit r322234: this is breaking dfsan tests.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@322243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/AddCompilerRT.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/AddCompilerRT.cmake b/cmake/Modules/AddCompilerRT.cmake index 21f8fa794..139b61400 100644 --- a/cmake/Modules/AddCompilerRT.cmake +++ b/cmake/Modules/AddCompilerRT.cmake @@ -431,7 +431,7 @@ endfunction() macro(add_compiler_rt_resource_file target_name file_name component) set(src_file "${CMAKE_CURRENT_SOURCE_DIR}/${file_name}") - set(dst_file "${COMPILER_RT_OUTPUT_DIR}/share/${file_name}") + set(dst_file "${COMPILER_RT_OUTPUT_DIR}/${file_name}") add_custom_command(OUTPUT ${dst_file} DEPENDS ${src_file} COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src_file} ${dst_file} @@ -439,7 +439,7 @@ macro(add_compiler_rt_resource_file target_name file_name component) add_custom_target(${target_name} DEPENDS ${dst_file}) # Install in Clang resource directory. install(FILES ${file_name} - DESTINATION ${COMPILER_RT_INSTALL_PATH}/share + DESTINATION ${COMPILER_RT_INSTALL_PATH} COMPONENT ${component}) add_dependencies(${component} ${target_name}) |