diff --git a/projects/hip/hip-lang-config.cmake.in b/projects/hip/hip-lang-config.cmake.in index 0c31ef70c5..3c5288c076 100644 --- a/projects/hip/hip-lang-config.cmake.in +++ b/projects/hip/hip-lang-config.cmake.in @@ -83,6 +83,10 @@ set_target_properties(hip-lang::device PROPERTIES INTERFACE_COMPILE_DEFINITIONS "$<$:__HIP_ROCclr__=1>" ) +set_property(TARGET hip-lang::device APPEND PROPERTY + INTERFACE_COMPILE_OPTIONS "$<$:SHELL:-mllvm=-amdgpu-early-inline-all=true;-mllvm=-amdgpu-function-calls=false>" +) + set_property(TARGET hip-lang::device APPEND PROPERTY INTERFACE_LINK_OPTIONS "$<$:--hip-link>" )