Find package - rocdecode-host (#650)

* Find package - rocdecode-host

* Cleanup

---------

Co-authored-by: Kiriti <kiriti@santiago.amd.com>

[ROCm/rocdecode commit: 48171900a3]
This commit is contained in:
Kiriti Gowda
2025-09-15 12:10:04 -07:00
committed by GitHub
parent be9aed7663
commit 4635af8cb0
8 changed files with 183 additions and 17 deletions
+14
View File
@@ -75,6 +75,20 @@ else()
else()
message("-- ${Yellow}${PROJECT_NAME} requires rocdecode. Install rocdecode before running CTests")
endif(rocdecode_FOUND)
find_package(rocdecode-host QUIET)
if(rocdecode-host_FOUND)
message("-- ${White}${PROJECT_NAME}: rocdecode-host found with find_package(rocdecode-host QUIET)${ColourReset}")
message("-- \t${White}rocdecode-host_INCLUDE_DIR -- ${rocdecode-host_INCLUDE_DIR}${ColourReset}")
message("-- \t${White}rocdecode-host_LIB_DIR -- ${rocdecode-host_LIB_DIR}${ColourReset}")
message("-- \t${White}rocdecode-host_LIBRARY -- ${rocdecode-host_LIBRARY}${ColourReset}")
message("-- \t${White}rocdecode-host_FOUND -- ${rocdecode-host_FOUND}${ColourReset}")
message("-- \t${White}rocdecode-host_VERSION -- ${rocdecode-host_VERSION}${ColourReset}")
message("-- \t${White}rocdecode-host_VERSION_MAJOR -- ${rocdecode-host_VERSION_MAJOR}${ColourReset}")
message("-- \t${White}rocdecode-host_VERSION_MINOR -- ${rocdecode-host_VERSION_MINOR}${ColourReset}")
message("-- \t${White}rocdecode-host_VERSION_PATCH -- ${rocdecode-host_VERSION_PATCH}${ColourReset}")
else()
message("-- ${Yellow}${PROJECT_NAME} requires rocdecode-host. Install rocdecode-host before running CTests")
endif(rocdecode-host_FOUND)
endif(BUILD_FROM_SOURCE)
# 1 - videoDecode HEVC