From 2b42ca45a8d2d3a8631bda12050ccdfc67051559 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 11 Jun 2020 13:00:09 -0500 Subject: [PATCH] Install export file --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65c3c189c..3a9071ffc 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -202,7 +202,8 @@ if(NOT CMAKE_INSTALL_PREFIX) #endif() endif() -install( TARGETS amdrocclr_static ARCHIVE DESTINATION lib LIBRARY DESTINATION lib COMPONENT applications) +install( TARGETS amdrocclr_static EXPORT amdrocclr_staticTargets ARCHIVE DESTINATION lib LIBRARY DESTINATION lib COMPONENT applications) +install(EXPORT amdrocclr_staticTargets DESTINATION lib) file(GLOB headerfiles "${CMAKE_CURRENT_SOURCE_DIR}/*.h*") install ( FILES ${headerfiles}