diff options
author | Tim Landscheidt <tim@tim-landscheidt.de> | 2019-01-26 17:40:21 +0000 |
---|---|---|
committer | Tim Landscheidt <tim@tim-landscheidt.de> | 2019-01-26 18:02:14 +0000 |
commit | 1116472dce6523ce18a7a9ea9376aac8bed9f864 (patch) | |
tree | 94e2970eb70d3af88e9ec5e2397086ad68484198 /CONTRIBUTING.md | |
parent | 33cbed3211ccab0f18e1ad7af3fea6af697df2e0 (diff) | |
download | fork-ledger-1116472dce6523ce18a7a9ea9376aac8bed9f864.tar.gz fork-ledger-1116472dce6523ce18a7a9ea9376aac8bed9f864.tar.bz2 fork-ledger-1116472dce6523ce18a7a9ea9376aac8bed9f864.zip |
Use CMAKE_CXX_COMPILER_ID for conditions based on compiler
CMAKE_CXX_COMPILER is the path to the compiler binary and does not
need to follow a specific pattern. For example, on Linux with GCC and
without an explicit "-DCMAKE_CXX_COMPILER:PATH=" option,
CMAKE_CXX_COMPILER is "/usr/bin/c++" which does not match "g++".
CMAKE_CXX_COMPILER_ID however will always reliably be "Clang" or
"GNU".
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions