blob: e0031d8439bda5c1f21ca1134419a439924d35f5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
include(WriteCompilerDetectionHeader)
write_compiler_detection_header(
FILE "${CMAKE_CURRENT_BINARY_DIR}/compilerchecks/thread_local_compiler_detection.h"
PREFIX MB
COMPILERS GNU Clang AppleClang MSVC Intel
FEATURES cxx_thread_local
)
add_definitions(-DDETECT_THREAD_LOCAL)
|