Skip to content

AMENT_PREFIX_PATH: Environment variable vs CMake variable #713

@furushchev

Description

@furushchev

I found the CMake variable AMENT_PREFIX_PATH is set in the following files in this repository:

-DAMENT_PREFIX_PATH="@(InstallationPrefix)" \

-DAMENT_PREFIX_PATH="@(InstallationPrefix)" \

However, the variable is not assumed to be the CMake variable but the environment variable in the ament/ament_cmake repository.
for instance:
https://github.com/ament/ament_cmake/blob/dc576abb40986f9d1ce8e534eb17770a625014cd/ament_cmake_core/cmake/environment/ament_cmake_environment_package_hook.cmake#L33

I want to clarify if there is any background to have this variable set as the environment variable or if it just needs to be fixed.
(I'll make a PR if it's the latter case.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions