From 0058b85808693e83c2bd9f040a330b4be504e950 Mon Sep 17 00:00:00 2001 From: arvindcheru <90783369+arvindcheru@users.noreply.github.com> Date: Thu, 3 Jul 2025 15:35:31 -0400 Subject: [PATCH] Add softlink for rocdecode-host library target (#614) [ROCm/rocdecode commit: eb487c3204b5fa36fd9f1c8dc0ee148524a4ecde] --- projects/rocdecode/src/rocdecode-host/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/rocdecode/src/rocdecode-host/CMakeLists.txt b/projects/rocdecode/src/rocdecode-host/CMakeLists.txt index 22f904dc9b..b6b63e3105 100644 --- a/projects/rocdecode/src/rocdecode-host/CMakeLists.txt +++ b/projects/rocdecode/src/rocdecode-host/CMakeLists.txt @@ -41,7 +41,7 @@ if (NOT DEFINED CMAKE_CXX_COMPILER) endif() # Set Project Version and Language -project(rocdecodehost LANGUAGES CXX) +project(rocdecodehost VERSION ${VERSION} LANGUAGES CXX) list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../../cmake) list(APPEND CMAKE_PREFIX_PATH ${ROCM_PATH}/lib/cmake) @@ -109,5 +109,6 @@ else() endif() endif() - # install rocdecode libs -- {ROCM_PATH}/lib + # install rocdecode-host libs -- {ROCM_PATH}/lib + set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR}) install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT dev)