Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have Kokkos TriBITS build properly export options to package config f…
…iles (trilinos#11545) Just need to move where tribits_package_decl() is called before Kokkos defines its options and then call tribits_pkg_export_cache_var() inside of kokkos_option(). NOTE: We don't export the variables Kokkos_ENABLE_TESTS or Kokkos_ENABLE_EXAMPLES because those are special varaibles defined by TriBITS where the project-level variable value may be different than the cache variable value (which is on purpose) and also we don't want to export these variables because downstream packages should not need to know this info. ToDo: Kokkos really should differentiate what options values it exports and which it does not to provide a better defined API (and downstream customers don't need to grep the installed Kokkos_config.h file to figure out this info).
- Loading branch information