Closed VisualGMQ closed 8 months ago
when compiler is clang but backend is MSVC, cmake config will failed due to check MSVC failed(-fPIC will add to clang): my compiler:
-fPIC
use CMAKE_CXX_COMPILER_ID and CMAKE_CXX_SIMULATE_ID to check clang backend.
CMAKE_CXX_COMPILER_ID
CMAKE_CXX_SIMULATE_ID
Thanks for your collaboration!
when compiler is clang but backend is MSVC, cmake config will failed due to check MSVC failed(![image](https://github.com/SpartanJ/efsw/assets/35966247/3a3ffe2d-120d-4662-9e95-90566e8da39f)
-fPIC
will add to clang): my compiler:use
CMAKE_CXX_COMPILER_ID
andCMAKE_CXX_SIMULATE_ID
to check clang backend.