mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Remove unnecessary export() call
This commit is contained in:
parent
bc8a84138f
commit
b298b728f5
@ -429,9 +429,6 @@ function(sfml_export_targets)
|
|||||||
endif()
|
endif()
|
||||||
set(targets_config_filename "SFML${config_name}Targets.cmake")
|
set(targets_config_filename "SFML${config_name}Targets.cmake")
|
||||||
|
|
||||||
export(EXPORT SFMLConfigExport
|
|
||||||
FILE "${CMAKE_CURRENT_BINARY_DIR}/${targets_config_filename}")
|
|
||||||
|
|
||||||
if(SFML_BUILD_FRAMEWORKS)
|
if(SFML_BUILD_FRAMEWORKS)
|
||||||
set(config_package_location "SFML.framework/Resources/CMake")
|
set(config_package_location "SFML.framework/Resources/CMake")
|
||||||
else()
|
else()
|
||||||
@ -442,7 +439,6 @@ function(sfml_export_targets)
|
|||||||
configure_package_config_file("${CURRENT_DIR}/SFMLConfigDependencies.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/SFMLConfigDependencies.cmake"
|
configure_package_config_file("${CURRENT_DIR}/SFMLConfigDependencies.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/SFMLConfigDependencies.cmake"
|
||||||
INSTALL_DESTINATION "${config_package_location}")
|
INSTALL_DESTINATION "${config_package_location}")
|
||||||
|
|
||||||
|
|
||||||
install(EXPORT SFMLConfigExport
|
install(EXPORT SFMLConfigExport
|
||||||
FILE ${targets_config_filename}
|
FILE ${targets_config_filename}
|
||||||
DESTINATION ${config_package_location})
|
DESTINATION ${config_package_location})
|
||||||
|
Loading…
Reference in New Issue
Block a user