From b298b728f5c6a635e4c7cb1335185bee5299f6ef Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sat, 15 Jul 2023 19:16:31 -0600 Subject: [PATCH] Remove unnecessary export() call --- cmake/Macros.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmake/Macros.cmake b/cmake/Macros.cmake index 571a22e2..dd193f28 100644 --- a/cmake/Macros.cmake +++ b/cmake/Macros.cmake @@ -429,9 +429,6 @@ function(sfml_export_targets) endif() set(targets_config_filename "SFML${config_name}Targets.cmake") - export(EXPORT SFMLConfigExport - FILE "${CMAKE_CURRENT_BINARY_DIR}/${targets_config_filename}") - if(SFML_BUILD_FRAMEWORKS) set(config_package_location "SFML.framework/Resources/CMake") else() @@ -442,7 +439,6 @@ function(sfml_export_targets) configure_package_config_file("${CURRENT_DIR}/SFMLConfigDependencies.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/SFMLConfigDependencies.cmake" INSTALL_DESTINATION "${config_package_location}") - install(EXPORT SFMLConfigExport FILE ${targets_config_filename} DESTINATION ${config_package_location})