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
Trying to follow the documentation for when Magnum was externally built and installed and I can't get it to work. Magnum compiles just fine but then it doesn't copy all the FindXXX.cmake files to the install folder. That causes the FindMagnum.cmake to fail when it tries to find_package(GLFW). I think the fix would be to add them to the install as well, but I might be doing something wrong.
Installing the extra FindGLFW, FindOpenAL, ... modules system-wide is problematic, because those could cause conflicts with Find modules of other libraries (to my knowledge there's at least five different mutually incompatible FindSDL2.cmake modules in the wild, for example). Figuring out a better way to handle these is on my TODO list for the next release (#411), but currently the designated way to do this is copying those by hand to the modules/ directory of your app (assuming you started with the bootstrap project).
Trying to follow the documentation for when Magnum was externally built and installed and I can't get it to work. Magnum compiles just fine but then it doesn't copy all the FindXXX.cmake files to the install folder. That causes the FindMagnum.cmake to fail when it tries to
find_package(GLFW)
. I think the fix would be to add them to the install as well, but I might be doing something wrong.It warns that it can't find GLFW in this line => https://github.com/mosra/magnum/blob/master/modules/FindMagnum.cmake#L632
and then it fails later when it tries to find
GLFW::GLFW
I believe the fix would be to just add the rest of the find cmakes to https://github.com/mosra/magnum/blob/master/modules/CMakeLists.txt but given that file hasn't been changed for a long time it makes me think that I'm doing something wrong instead
The text was updated successfully, but these errors were encountered: