There are still add_definitions statements within motor CMake configuration files. Those need to be removed and specifically added to the targets.
This can be done using pseudo targets with INTERFACE qualifier and attaching all the options to those targets. motor_graphics_config.cmake is already doing this.
There are still
add_definitions
statements within motor CMake configuration files. Those need to be removed and specifically added to the targets.This can be done using pseudo targets with
INTERFACE
qualifier and attaching all the options to those targets.motor_graphics_config.cmake
is already doing this.