diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b542f24..c9d3a666 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,6 @@ if ("${CMAKE_GENERATOR}" MATCHES "^Visual Studio.*$") add_compile_options(-wd4068) # ignore unknown pragma warnings (gcc pragmas) add_compile_options(-wd4146) # minus operator applied to unsigned add_compile_options(-wd4244) # possible loss of data - add_compile_options(-wd4267) # possible loss of data add_compile_options(-wd4334) # 32-bit shift implicitly converted to 64 bits # Disable warning due to incorrect format specifier in debugging printf via the Debug macro @@ -87,7 +86,7 @@ if ("${CMAKE_GENERATOR}" MATCHES "^Visual Studio.*$") if (NOT HAVE_STDATOMIC_H) configure_file(include/win/fakestdatomic.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/stdatomic.h) endif (NOT HAVE_STDATOMIC_H) - + # MSVC compiler is currently missing C11 _Thread_local check_c_source_compiles("void main() { _Thread_local int a; }" HAVE_THREAD_LOCAL) if (NOT HAVE_THREAD_LOCAL) |