Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build when using clang-cl on Windows (#129)
The Clang front-end provided with Visual Studio, `clang-cl.exe`, does not support the `/Qspectre` or `/MP` compiler flags. This patch adds logic to check that the `CMAKE_C_COMPILER_ID`/`CMAKE_CXX_COMPILER_ID` variables are not `Clang` before appending the unsupported flags to `CMAKE_C_FLAGS`/`CMAKE_CXX_FLAGS`. Signed-off-by: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
- Loading branch information