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

GCC CMake path not correct #32

Open
RobotJente opened this issue Feb 11, 2020 · 3 comments
Open

GCC CMake path not correct #32

RobotJente opened this issue Feb 11, 2020 · 3 comments

Comments

@RobotJente
Copy link
Contributor

Reproduce: pull proto on ubuntu, cry because it complains it cannot find G++

Hardcoded fix: change

set(CMAKE_CXX_COMPILER "/bin/${CXX_COMPILER}")
to
set(CMAKE_CXX_COMPILER "/usr/bin/${CXX_COMPILER}")

@mrlukasbos
Copy link
Member

Should it not be the following?

 set(CMAKE_CXX_COMPILER "/lib/ccache/bin/${CXX_COMPILER}")

@mrlukasbos
Copy link
Member

@RobotJesse is this still relevant for you?

@rolfvdhulst
Copy link
Contributor

You can hack solve this by SimLinking your usr/bin folder from the path that the CMake has, though we should probably do it in the CMake, which is more difficult.

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

3 participants