From 49c251e51807817b07db5d09f014c32e62a283cb Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 12 May 2020 21:09:29 -0400 Subject: [PATCH] Move top.hpp into include directory This partially avoids a difference in the include paths between a build and install tree, and simplifies the install configuration. Change-Id: If8119507594e0d284ac08c141c6c51c88ec619ef [ROCm/clr commit: 199f6114d015ae1a3c8e5ffb5609b1cad49696da] --- projects/clr/rocclr/CMakeLists.txt | 9 ++------- projects/clr/rocclr/{ => include}/top.hpp | 0 2 files changed, 2 insertions(+), 7 deletions(-) rename projects/clr/rocclr/{ => include}/top.hpp (100%) diff --git a/projects/clr/rocclr/CMakeLists.txt b/projects/clr/rocclr/CMakeLists.txt index 65c3c189cc..87ed768c66 100644 --- a/projects/clr/rocclr/CMakeLists.txt +++ b/projects/clr/rocclr/CMakeLists.txt @@ -203,14 +203,9 @@ if(NOT CMAKE_INSTALL_PREFIX) endif() install( TARGETS amdrocclr_static ARCHIVE DESTINATION lib LIBRARY DESTINATION lib COMPONENT applications) -file(GLOB headerfiles "${CMAKE_CURRENT_SOURCE_DIR}/*.h*") install ( - FILES ${headerfiles} - DESTINATION include) -install ( - DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include" - DESTINATION include - FILES_MATCHING PATTERN "*.h*") + DIRECTORY include/ + DESTINATION include) install ( DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/elf" DESTINATION include diff --git a/projects/clr/rocclr/top.hpp b/projects/clr/rocclr/include/top.hpp similarity index 100% rename from projects/clr/rocclr/top.hpp rename to projects/clr/rocclr/include/top.hpp