SWDEV-445072 - Disable rocprofiler register for static libs

Change-Id: I38f4cc31ea196156aad65ca743787b27c02823ac
This commit is contained in:
Ioannis Assiouras authored and Maneesh Gupta committed 2024-05-28 06:31:10 +00:00
1 parent d6eaf49033
commit 7d901666b8
1 file changed
+1 -1
+1 -1
View File
@@ -287,7 +287,7 @@ endif()
target_compile_definitions(amdhip64 PUBLIC USE_PROF_API=1)
if(WIN32)
if(WIN32 OR NOT BUILD_SHARED_LIBS)
# rocprofiler-register is not support on Windows
set(HIP_ENABLE_ROCPROFILER_REGISTER OFF)
else()