We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321105d commit fe6b3a3Copy full SHA for fe6b3a3
ament_cmake_python/cmake/ament_python_install_package.cmake
@@ -160,6 +160,11 @@ setup(
160
DESTINATION "${ARG_DESTINATION}/${egg_install_name}.egg-info"
161
)
162
163
+ if(POLICY CMP0087)
164
+ # Allow generator expressions in install(CODE...)
165
+ cmake_policy(SET CMP0087 NEW)
166
+ endif()
167
+
168
# generate/install entry-point console scripts
169
get_filename_component(ABS_SCRIPTS_DESTINATION "${ARG_SCRIPTS_DESTINATION}" ABSOLUTE BASE_DIR "${CMAKE_INSTALL_PREFIX}")
170
install(CODE "execute_process(COMMAND ${python_interpreter} setup.py install_scripts --install-dir \"${ABS_SCRIPTS_DESTINATION}\"
0 commit comments