-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
cmake_* tests don't use the build system's compiler #1747
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bad bot |
@Tridacnid Why not post your patch as a PR? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Agh, stop. I'm doing that patch, promise. |
…ER the main project was CMake'd with. Fixes nlohmann#1747.
…ER the main project was CMake'd with. Fixes nlohmann#1747.
When building I set the compiler with the
-DCMAKE_<LANG>_COMPILER=<path>
option. Some tests generate new projects with CMake but don't make use of the compiler that I want CMake to use. I suspect that this isn't an issue for people who use the CC/CXX enviroment variables (or any equivalent on non-Linux systems).Steps to reproduce:
-DCMAKE_CXX_COMPILER=<path to g++>
and-DCMAKE_C_COMPILER=<path to gcc>
A patch I made and tried on my Cent6 environment:
I get unrelated failures referencing "issue #186 miloyip/nativejson-benchmark: floating-point parsing" but I will explore those in a separate issue if appropriate.
The text was updated successfully, but these errors were encountered: