You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package and Environment Details (include every applicable attribute)
Package Name/Version: sdl/2.0.18
Operating System+version: Windows10
Compiler+version: MSVC 17
Conan version: conan 1.44.0
Steps to reproduce
So from my observation, it does look like options provided by the sdl conan package and OpenGL, OpenGLES, DirectX, Vulkan seem to not have any impact on library build.
Why is it though?
To prove my point.
I found it strange that when I load my app in visual studio it loads DLLs on startup such as
in .conan\data\sdl\2.0.18__\build\164640aad040835ac89882393a96d89200694f04\build_subfolder if I check CMakeCache.txt it shows cached variables for graphics backends
//Include OpenGL support
SDL_OPENGL:BOOL=ON
//Include OpenGL ES support
SDL_OPENGLES:BOOL=ON
Also from the build log of conan install I see
-- SDL_OPENGL (Wanted: ON): ON
-- SDL_OPENGLES (Wanted: ON): ON
So all of that makes me assume that either package is not picking correctly the options or am I doing something wrong?
In that conan package build folder .conan\data\sdl\2.0.18__\build\164640aad040835ac89882393a96d89200694f04 conaninfo.txt seem to pick correctly options that I've provided in my project's conanfile.py though default_options - "sdl:opengl":False
Can you update the recipe by using -u argument ? this seems to have been solved with #8609
I’ve just migrated yesterday from sfml to sdl so it seems like an issue is still present as I’m fetching the latest version. If I use 2.0.16 though everything works fine and sdl_config.h has all video backends disabled.
Package and Environment Details (include every applicable attribute)
Steps to reproduce
So from my observation, it does look like options provided by the sdl conan package and OpenGL, OpenGLES, DirectX, Vulkan seem to not have any impact on library build.
Why is it though?
To prove my point.
-- SDL_OPENGL (Wanted: ON): ON
-- SDL_OPENGLES (Wanted: ON): ON
So all of that makes me assume that either package is not picking correctly the options or am I doing something wrong?
In that conan package build folder .conan\data\sdl\2.0.18__\build\164640aad040835ac89882393a96d89200694f04 conaninfo.txt seem to pick correctly options that I've provided in my project's conanfile.py though default_options -
"sdl:opengl":False
The text was updated successfully, but these errors were encountered: