geode icon indicating copy to clipboard operation
geode copied to clipboard

Add SYSTEM to target_include_directories for bindings and dependencies

Open nytelytee opened this issue 2 months ago • 0 comments
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.

nytelytee avatar Aug 30 '25 13:08 nytelytee