CMake config - updates and fixes (#532)

* CMake Config - updates and fixes

* Version - Updates

* Changelog - updates

* Update CHANGELOG.md

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

---------

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

[ROCm/rocdecode commit: 6b026af151]
This commit is contained in:
Kiriti Gowda
2025-03-17 11:38:01 -05:00
committed by GitHub
parent 68dee64275
commit 26a67fb210
34 changed files with 154 additions and 150 deletions
@@ -0,0 +1,22 @@
# - Config file for the rocdecode package
# It defines the following variables
# ROCDECODE_INCLUDE_DIR - include directory for rocdecode
# ROCDECODE_LIB_DIR - library directory for rocdecode
# ROCDECODE_LIBRARY - library to link against
@PACKAGE_INIT@
# Compute paths
set_and_check(rocdecode_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(ROCDECODE_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(rocDecode_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(rocdecode_LIB_DIR "@PACKAGE_LIB_INSTALL_DIR@")
set_and_check(ROCDECODE_LIB_DIR "@PACKAGE_LIB_INSTALL_DIR@")
set_and_check(rocDecode_LIB_DIR "@PACKAGE_LIB_INSTALL_DIR@")
set_and_check(rocdecode_LIBRARY "@PACKAGE_LIB_INSTALL_DIR@/librocdecode.so")
set_and_check(ROCDECODE_LIBRARY "@PACKAGE_LIB_INSTALL_DIR@/librocdecode.so")
set_and_check(rocDecode_LIBRARY "@PACKAGE_LIB_INSTALL_DIR@/librocdecode.so")
get_filename_component(ROCDECODE_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include("${ROCDECODE_CMAKE_DIR}/rocdecode-targets.cmake")