Browse Source

CMake: Enable libc++ thread annotations

master
Daniel Scharrer 1 year ago
parent
commit
ee1a222f8a
  1. 1
      cmake/BuildType.cmake

1
cmake/BuildType.cmake

@ -337,6 +337,7 @@ else(MSVC)
if(IS_LIBCXX)
add_definitions(-D_LIBCPP_ENABLE_NODISCARD)
add_definitions(-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS)
endif()
endif(SET_WARNING_FLAGS)

Loading…
Cancel
Save