Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused AMENT_CMAKE_ENVIRONMENT_GENERATION option #354

Open
wants to merge 3 commits into
base: rolling
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ament_cmake_core/ament_cmake_environment-extras.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@

# copied from ament_cmake_core/ament_cmake_environment-extras.cmake

option(AMENT_CMAKE_ENVIRONMENT_GENERATION
"Generate environment files in the CMAKE_INSTALL_PREFIX" OFF)
option(AMENT_CMAKE_ENVIRONMENT_PARENT_PREFIX_PATH_GENERATION
"Generate marker file containing the parent prefix path" ON)

# This is used by ros_workspace
sloretz marked this conversation as resolved.
Show resolved Hide resolved
include("${ament_cmake_core_DIR}/environment/ament_generate_environment.cmake")

ament_register_extension("ament_package" "ament_cmake_core"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

if(AMENT_CMAKE_ENVIRONMENT_GENERATION)
ament_generate_environment()
endif()

function(ament_cmake_environment_generate_package_run_dependencies_marker)
# use all run dependencies from the package.xml
set(run_depends "")
Expand Down