Update CMakeLists.txt

This commit is contained in:
HungMingWu 2018-06-19 15:24:55 +08:00 committed by GitHub
parent b6ae5627aa
commit c83fbc2cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,9 @@ project(leveldb C CXX)
option(INSTALL_HEADERS "Install header files" ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
IF (MSVC)
add_definitions(
-DWIN32