SpartanJ / efsw

efsw is a C++ cross-platform file system watcher and notifier.
Other
645 stars 98 forks source link

fix clang-msvc backend cmake error #172

Closed VisualGMQ closed 8 months ago

VisualGMQ commented 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: image

use CMAKE_CXX_COMPILER_ID and CMAKE_CXX_SIMULATE_ID to check clang backend.

SpartanJ commented 8 months ago

Thanks for your collaboration!