[libclc] [libclc] Fix installation w/ ENABLE_RUNTIME_SUBNORMAL (PR #109926)

Fraser Cormack via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 26 02:07:05 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:

I've updated the patch to set `TARGET_FILE` absolutely.

https://github.com/llvm/llvm-project/pull/109926


More information about the cfe-commits mailing list