Skip to content

Commit 8a1f228

Browse files
author
Dmitry Yashunin
committed
Windows build warnings
1 parent ca1fb7b commit 8a1f228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if(HNSWLIB_EXAMPLES)
5050
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
5151
SET( CMAKE_CXX_FLAGS "-Ofast -lrt -std=c++11 -DHAVE_CXX0X -march=native -fpic -w -fopenmp -ftree-vectorize -ftree-vectorizer-verbose=0" )
5252
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
53-
SET( CMAKE_CXX_FLAGS "-Ofast -lrt -std=c++11 -DHAVE_CXX0X -openmp -march=native -fpic -w -fopenmp -ftree-vectorize" )
53+
SET( CMAKE_CXX_FLAGS "/O2 -DHAVE_CXX0X /openmp" )
5454
endif()
5555

5656
# examples

0 commit comments

Comments
 (0)