community
community copied to clipboard
Patch/Replace imgui-sfml CMakeLists.txt
The imgui-sfml
CMakeLists.txt
file is rather "wonky", I understand that it is nice to have choices, such as using system dependencies (can conan do this automatically) however despite having all of its dependencies available through conan
it cant build without downloading the imgui
repository even if all such dependencies are installed and specified in requirements due to its cmake
file.
Trying to modify its conanfile.py
myself (I thought it was not building) getting these options right to make it build in a /build
directory is tricky (true once it is successfully installed, there is no need, but this is meant to demonstrate the the issue with the CMakeLists.txt
file)
Should its CMakeLists.txt be patched/replaced?
The fact that the receipe can't be build without imgui is a problem but doesn't it comes from the conanfile.py
file ?
Actually I don't see the problem with the CMakeLists.txt file (or can you explain what the problem is ?)