From ecfc347edede942160fba619a4fe5eadfcfed1c1 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Wed, 11 Apr 2018 00:07:54 -0500 Subject: [PATCH] include directory fix Change-Id: Ie260f607a1c5f5e3e40375a8adeffefd9fb28ec4 [ROCm/rocprofiler commit: c096c31a2c05d8e0c00ea75ae7336813901f195e] --- projects/rocprofiler/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler/CMakeLists.txt b/projects/rocprofiler/CMakeLists.txt index 00f00f6d0e..181d50cfdd 100644 --- a/projects/rocprofiler/CMakeLists.txt +++ b/projects/rocprofiler/CMakeLists.txt @@ -76,9 +76,9 @@ endif () ## Build tests add_subdirectory ( ${TEST_DIR} ${PROJECT_BINARY_DIR}/test ) -## Set install information +## Install information install ( TARGETS ${ROCPROFILER_TARGET} LIBRARY DESTINATION ${ROCPROFILER_NAME}/lib ) -install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/inc DESTINATION ${ROCPROFILER_NAME}/include ) +install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/inc/rocprofiler.h DESTINATION ${ROCPROFILER_NAME}/include ) ## Packaging directives set ( CPACK_PACKAGE_NAME "${ROCPROFILER_NAME}-dev" )