8f1955af17
The SFML target export set includes a number of external targets which are not owned by the project itself. This includes targets like Freetype and OpenGL. By specifying a namespace for the export set, a SFML:: namespace was prepended to all targets. This is not a problem when using shared libraries but when building and using static libraries caused a problem where CMake was attempting and failing to find targets with names like SFML::Freetype or SFML::OpenGL which did not exist. Luckily CMake allows you put namespaces in the EXPORT_NAME target property so now we can just add the SFML:: namespace in the macro which creates SFML targets and remove the `NAMESPACE SFML::` line which was adding namespaces to all targets. |
||
---|---|---|
.. | ||
Modules | ||
toolchains | ||
CompilerOptionsOverride.cmake | ||
CompilerWarnings.cmake | ||
Config.cmake | ||
Macros.cmake | ||
SFMLConfig.cmake.in | ||
SFMLConfigDependencies.cmake.in |