ament / ament/google_benchmark_vendor

CMAKE_INSTALL_PREFIX in toolchain breaks compilation

Ouverte
#17 3 commentaires 0 réactions 1 personne assignée Réclamée par @cottsay Voir sur GitHub
Langage dominant
CMake
Étoiles
1
Forks
8
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I am setting CMAKE_INSTALL_PREFIX in a cmake toolchain for certain technical reason. In this case toolchain overrides command line parameters, so
https://github.com/ament/google_benchmark_vendor/blob/main/CMakeLists.txt#L66 has no effect and the installation logic below https://github.com/ament/google_benchmark_vendor/blob/main/CMakeLists.txt#L74 fails.

Is there a reason for installing external project to a temporary directory? It looks like an unnecessary step --CMAKE_INSTALL_PREFIX can be passed directly to the external project without extra install command. This would work just fine in my environment as well.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.