File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -61,3 +61,4 @@ CMakeSettings.json
61
61
62
62
# CLion
63
63
.idea /
64
+ cmake-build- *
Original file line number Diff line number Diff line change 19
19
# Download and unpack boost at configure time
20
20
21
21
if (CMAKE_HOST_WIN32 )
22
- set (BOOTSTRAP_CMD bootstrap.bat)
22
+ if (MSVC )
23
+ set (BOOTSTRAP_CMD "bootstrap.bat msvc" )
24
+ else ()
25
+ set (BOOTSTRAP_CMD "bootstrap.bat" )
26
+ endif (MSVC )
23
27
set (B2_CMD b2.exe)
24
28
else ()
25
29
# Reset the CXX (path to compiler) before running bootstrap since we can cross compile.
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ if(BUILD_SHARED_LIBS)
99
99
endif(BUILD_SHARED_LIBS)
100
100
101
101
add_library(leveldb "")
102
- target_compile_options(leveldb PRIVATE -std=c++11 -Wno-c++11-extensions )
102
+ target_compile_options(leveldb PRIVATE -std=c++11)
103
103
target_sources(leveldb
104
104
PRIVATE
105
105
"${PROJECT_BINARY_DIR}/${LEVELDB_PORT_CONFIG_DIR}/port_config.h"
@@ -267,7 +267,7 @@ target_link_libraries(leveldb PUBLIC Threads::Threads)
267
267
add_executable(leveldbutil
268
268
"${PROJECT_SOURCE_DIR}/db/leveldbutil.cc"
269
269
)
270
- target_compile_options(leveldbutil PRIVATE -std=c++11 -Wno-c++11-extensions )
270
+ target_compile_options(leveldbutil PRIVATE -std=c++11)
271
271
target_link_libraries(leveldbutil leveldb)
272
272
273
273
if(LEVELDB_BUILD_TESTS)
You can’t perform that action at this time.
0 commit comments