[libclc] [libclc] Fix installation w/ ENABLE_RUNTIME_SUBNORMAL (PR #109926)
Fraser Cormack via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 26 01:58:34 PDT 2024
================
@@ -221,8 +221,10 @@ if( ENABLE_RUNTIME_SUBNORMAL )
TARGET ${file}
INPUTS ${CMAKE_CURRENT_SOURCE_DIR}/generic/lib/${file}.ll
)
- install( FILES $<TARGET_PROPERTY:${file},TARGET_FILE> ARCHIVE
- DESTINATION "${CMAKE_INSTALL_DATADIR}/clc" )
+ install(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/$<TARGET_PROPERTY:${file},TARGET_FILE>
----------------
frasercrmck wrote:
Arguably we should set `TARGET_FILE` on the absolute path to the targets' files, but I can't foresee what knock-on impacts this would have.
https://github.com/llvm/llvm-project/pull/109926
More information about the cfe-commits
mailing list