From d8440608d5f5671ddc562e3ade4ae9db570a087d Mon Sep 17 00:00:00 2001 From: Lucas Miller Date: Wed, 1 May 2024 13:39:06 -0700 Subject: [PATCH] Address #395 by bringing back the EXPORT statement. --- src/python/config/ModuleDefine.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python/config/ModuleDefine.cmake b/src/python/config/ModuleDefine.cmake index b51c6c10..7e30614d 100644 --- a/src/python/config/ModuleDefine.cmake +++ b/src/python/config/ModuleDefine.cmake @@ -52,6 +52,7 @@ function(PYIMATH_ADD_LIBRARY_PRIV libname) add_library(${PROJECT_NAME}::${libname} ALIAS ${libname}) install(TARGETS ${libname} + EXPORT ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}