Skip to content

Commit

Permalink
[audio_to_spectrogram] Fix when to use catkin_install_python
Browse files Browse the repository at this point in the history
Conditional branch introduced by #2743 is wrong
  • Loading branch information
pazeshun committed Dec 12, 2024
1 parent c80a511 commit ed1b529
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 ed1b529

Please sign in to comment.