We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa026f5 + ed08913 commit 35f2434Copy full SHA for 35f2434
CMakeLists.txt
@@ -12,6 +12,12 @@ cmake_minimum_required(VERSION 3.24)
12
project(LMDB
13
LANGUAGES C)
14
15
+set(CMAKE_C_STANDARD 11)
16
+
17
+if("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC" OR "${CMAKE_C_COMPILER_SIMULATE_ID}" STREQUAL "MSVC")
18
+ add_compile_options(/experimental:c11atomics)
19
+endif()
20
21
# Set the build artifact directories to ensure that the generated products are
22
# colocated and findable for wiring up into the test suites across repositories.
23
# This pattern is applied to all Swift and LLVM repositories.
0 commit comments