[SWDEV-431345][SWDEV-432633] toplevel cmake for hip samples

Change-Id: If22e7e96604f184458cc6ab6bb9945152f9359e0
This commit is contained in:
Rahul Manocha committed 2023-12-05 11:36:15 -05:00
1 parent 4a60fe5fd1
commit 7481de706f
33 files changed
+461 -89

No files matched your search

@@ -43,8 +43,6 @@ if (WIN32 AND HIPINFO_INTERNAL_BUILD)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --rocm-path=${CMAKE_PREFIX_PATH}")
endif()
# Find hip
find_package(hip REQUIRED)
if (WIN32)
@@ -96,3 +94,6 @@ else (WIN32)
target_link_libraries(hipVulkan hip::host vulkan glfw)
endif (WIN32)
if(TARGET build_cookbook)
add_dependencies(build_cookbook hipVulkan)
endif()