SWDEV-445072 - Disable rocprofiler register for static libs
Change-Id: I38f4cc31ea196156aad65ca743787b27c02823ac
This commit is contained in:
1 parent
d6eaf49033
commit
7d901666b8
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user