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

Absolute path bug when cross compiling #1191

Open
aemad37 opened this issue Nov 3, 2023 · 0 comments
Open

Absolute path bug when cross compiling #1191

aemad37 opened this issue Nov 3, 2023 · 0 comments

Comments

@aemad37
Copy link

aemad37 commented Nov 3, 2023

this check here looks for the existence of the file on the host machine in case of cross compiling.
if(EXISTS "/etc/debian_version")
https://github.com/ros/catkin/blob/ff31d451ce1c68d47bc058a4693aad6c0fb63a43/cmake/python.cmake#L11C2-L11C2
maybe it should be "${CMAKE_SYSROOT}/etc/debian_version"? or something similar that makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant