File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -61,3 +61,4 @@ CMakeSettings.json
6161
6262# CLion
6363.idea /
64+ cmake-build- *
Original file line number Diff line number Diff line change 1919# Download and unpack boost at configure time
2020
2121if (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 )
2327 set (B2_CMD b2.exe)
2428else ()
2529 # 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)
9999endif(BUILD_SHARED_LIBS)
100100
101101add_library(leveldb "")
102- target_compile_options(leveldb PRIVATE -std=c++11 -Wno-c++11-extensions )
102+ target_compile_options(leveldb PRIVATE -std=c++11)
103103target_sources(leveldb
104104 PRIVATE
105105 "${PROJECT_BINARY_DIR}/${LEVELDB_PORT_CONFIG_DIR}/port_config.h"
@@ -267,7 +267,7 @@ target_link_libraries(leveldb PUBLIC Threads::Threads)
267267add_executable(leveldbutil
268268 "${PROJECT_SOURCE_DIR}/db/leveldbutil.cc"
269269)
270- target_compile_options(leveldbutil PRIVATE -std=c++11 -Wno-c++11-extensions )
270+ target_compile_options(leveldbutil PRIVATE -std=c++11)
271271target_link_libraries(leveldbutil leveldb)
272272
273273if(LEVELDB_BUILD_TESTS)
You can’t perform that action at this time.
0 commit comments