Skip to content

Add missing COMPILE_OPTIONS in add_dune_all_flags cmake macro

Summary:

This MR adds the missing COMPILE_OPTIONS property in the cmake macro add_dune_all_flags.

Motivation:

In cmake packages, like FindTBB.cmake, the macro dune_register_package_flags() is called with the parameter COMPILE_OPTIONS. So, options, that are not defines, can be added to targets that use the add_dune_all_flags(). Unfortunatly, the later ignores these compile options and only sets compile definitions.

Merge request reports

Loading