We have a few CMake functions based on add_target_property that seem to have native CMake equivalents. We should use the native versions for simplicity and performance.
The replacements seem to be as follows (though I haven't investigated whether they are 100% equivalent for everything we do):
- add_target_compile_flags => target_compile_options
- add_target_link_flags => target_link_options
- add_target_compile_definitions => target_compile_definitions
- add_target_include_directories => target_include_directories