From 508267761dadde6e822f4002a42a442c37a7c4ef Mon Sep 17 00:00:00 2001 From: Luca Bertagna Date: Fri, 3 Nov 2023 10:24:17 -0600 Subject: [PATCH] Export mpasInterface target when installing The lack of export was causing link errors in E3SM, as noted in E3SM-Project/E3SM#5950. --- src/landIce/interfaceWithMPAS/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/landIce/interfaceWithMPAS/CMakeLists.txt b/src/landIce/interfaceWithMPAS/CMakeLists.txt index f4fa622d64..ae91a88602 100644 --- a/src/landIce/interfaceWithMPAS/CMakeLists.txt +++ b/src/landIce/interfaceWithMPAS/CMakeLists.txt @@ -25,7 +25,7 @@ target_include_directories(mpasInterface PUBLIC "$" $) -install(TARGETS mpasInterface +install(TARGETS mpasInterface EXPORT albany-export LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}/" PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")