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
The correct solution is to add the define to the godot-cpp target using public target_compile_definitions. Then when that target is used, the define will come along for the ride...
I'm new to CMake so I'm not entirely sure if this is the best solution, I was running into issues with
real_t
not being set correctly on my project.I fixed it by putting this in the
main CMakeLists.txt
and then using the following env when usingcmake -B
:-DFLOAT_PRECISION=double
Thanks so much for this project, it's been massively helpful.
The text was updated successfully, but these errors were encountered: