geode
geode copied to clipboard
Add SYSTEM to target_include_directories for bindings and dependencies
trafficstars
Warnings from Geode or mods' dependencies may clutter other mod developers' compilation, or cause errors if they're using -Werror. Change the target include directories to SYSTEM in order to silence these.
CMake does claim this:
Additionally, system include directories are searched after normal include directories regardless of the order specified.
I am not sure if that could cause any issues, but it's worth keeping in mind I guess.