Skip to content

Commit

Permalink
Merge pull request #2859 from pazeshun/fix-install
Browse files Browse the repository at this point in the history
[audio_to_spectrogram] Fix when to use catkin_install_python
  • Loading branch information
k-okada authored Dec 13, 2024
2 parents c80a511 + ed1b529 commit 166151d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio_to_spectrogram/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ install(DIRECTORY launch sample test
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
)
if(NOT $ENV{ROS_DISTRO} STREQUAL "indigo") # on noetic it needs catkin_install_python to support Python3 and it does not work on indigo for some reason...
if($ENV{ROS_DISTRO} STREQUAL "indigo") # on noetic it needs catkin_install_python to support Python3 and it does not work on indigo for some reason...
install(DIRECTORY scripts
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
Expand Down

0 comments on commit 166151d

Please sign in to comment.