Skip to content

Commit

Permalink
Windows build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Yashunin committed May 10, 2023
1 parent ca1fb7b commit e9850fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if(HNSWLIB_EXAMPLES)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET( CMAKE_CXX_FLAGS "-Ofast -lrt -std=c++11 -DHAVE_CXX0X -march=native -fpic -w -fopenmp -ftree-vectorize -ftree-vectorizer-verbose=0" )
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
SET( CMAKE_CXX_FLAGS "-Ofast -lrt -std=c++11 -DHAVE_CXX0X -openmp -march=native -fpic -w -fopenmp -ftree-vectorize" )
SET( CMAKE_CXX_FLAGS "/O2 -DHAVE_CXX0X /openmp /EHsc" )
endif()

# examples
Expand Down

0 comments on commit e9850fe

Please sign in to comment.