I’m using GLFW as CMake submodule for my project.
For my submodules I have a dedicated directory where I want to place them all. However when I configure the location for the GLFW submodule, an extra “Update_mappings” target shows up under my root folder…
Is there a recommended way to specify the “root/home” dir of GLFW so that everything is moved/placed in that folder?
Btw: I don’t think I will use the joystick/pad mappings at all, but haven’t found a way (flag etc.) to exclude them.
Is there a way?
Sure I can set the target location of every GLFW3 target manually…
# Any better way to do this?
# (move location to "thirdparty")
set_target_properties(glfw PROPERTIES FOLDER thirdparty/GLFW3)
set_target_properties(update_mappings PROPERTIES FOLDER thirdparty/GLFW3)
but I don’t want to keep track of any possible changes and additional/optional targets that might be added in the future by GLFW.