From e79adb7e9e2876243b67a59828b3651f4e187781 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Thu, 18 Jan 2024 07:54:22 +0100 Subject: [PATCH] src/python/config/ModuleDefine.cmake: do not install a cmake file exporting targets for dependent projects Thanks: Jochen Sprickerhof Closes: #360 Signed-off-by: Johannes Schauer Marin Rodrigues --- src/python/config/ModuleDefine.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/src/python/config/ModuleDefine.cmake b/src/python/config/ModuleDefine.cmake index b4063623..adee61c8 100644 --- a/src/python/config/ModuleDefine.cmake +++ b/src/python/config/ModuleDefine.cmake @@ -55,7 +55,6 @@ 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}