Closed mapgccv closed 4 years ago
On CMake versions prior to 3.11, specifying target properties for imported targets fail (see https://cmake.org/cmake/help/v3.10/command/target_compile_definitions.html vs https://cmake.org/cmake/help/v3.11/command/target_compile_definitions.html). This pull request uses the all-compatible set_property statement instead.
set_property
Thanks, all help with CMake is much appreciated!
On CMake versions prior to 3.11, specifying target properties for imported targets fail (see https://cmake.org/cmake/help/v3.10/command/target_compile_definitions.html vs https://cmake.org/cmake/help/v3.11/command/target_compile_definitions.html). This pull request uses the all-compatible
set_property
statement instead.