Skip to content

Commit

Permalink
Revert "Silence policy CMP0087 warning"
Browse files Browse the repository at this point in the history
This reverts commit fe6b3a3.
  • Loading branch information
rhaschke committed Feb 8, 2022
1 parent d29798e commit 39bab98
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ament_cmake_python/cmake/ament_python_install_package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@ setup(
DESTINATION "${ARG_DESTINATION}/${egg_install_name}.egg-info"
)

if(POLICY CMP0087)
# Allow generator expressions in install(CODE...)
cmake_policy(SET CMP0087 NEW)
endif()

# generate/install entry-point console scripts
foreach(_dest ${ARG_SCRIPTS_DESTINATION})
get_filename_component(ABS_SCRIPTS_DESTINATION "${_dest}" ABSOLUTE BASE_DIR "${CMAKE_INSTALL_PREFIX}")
Expand Down

0 comments on commit 39bab98

Please sign in to comment.