SWDEV-273235 - Disable versioning for Windows
Not yet supported.
Change-Id: I9840120e1e5c40c6d3004229c4a5b06fd42cf4b6
[ROCm/clr commit: 8e9e26b1a9]
This commit is contained in:
@@ -72,10 +72,15 @@ else()
|
||||
set_target_properties(amdhip PROPERTIES OUTPUT_NAME "amdhip32")
|
||||
endif()
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set_target_properties(amdhip PROPERTIES
|
||||
VERSION ${HIP_LIB_VERSION_STRING}
|
||||
SOVERSION ${HIP_LIB_VERSION_MAJOR})
|
||||
# Disable versioning for Windows
|
||||
# as currently HIP_LIB_VERSION_STRING and HIP_LIB_VERSION_MAJOR
|
||||
# are not being populated
|
||||
if(NOT WIN32)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set_target_properties(amdhip PROPERTIES
|
||||
VERSION ${HIP_LIB_VERSION_STRING}
|
||||
SOVERSION ${HIP_LIB_VERSION_MAJOR})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_sources(amdhip PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user