From d8fdf8209e0a7541398ee15d9bae17a005516653 Mon Sep 17 00:00:00 2001 From: DH Date: Thu, 25 Dec 2025 21:55:51 +0300 Subject: [PATCH] add missed cmake file --- tools/amdgpu-gen/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tools/amdgpu-gen/CMakeLists.txt diff --git a/tools/amdgpu-gen/CMakeLists.txt b/tools/amdgpu-gen/CMakeLists.txt new file mode 100644 index 000000000..632122409 --- /dev/null +++ b/tools/amdgpu-gen/CMakeLists.txt @@ -0,0 +1,9 @@ + +if (NOT TARGET pugixml::pugixml) + find_package(pugixml) +endif() + +if (TARGET pugixml::pugixml) + add_executable(amdgpu-gen amdgpu-gen.cpp) + target_link_libraries(amdgpu-gen PUBLIC pugixml::pugixml nlohmann_json::nlohmann_json) +endif()