We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca1fb7b commit 5e26ea3Copy full SHA for 5e26ea3
CMakeLists.txt
@@ -50,7 +50,7 @@ if(HNSWLIB_EXAMPLES)
50
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
51
SET( CMAKE_CXX_FLAGS "-Ofast -lrt -std=c++11 -DHAVE_CXX0X -march=native -fpic -w -fopenmp -ftree-vectorize -ftree-vectorizer-verbose=0" )
52
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" )
+ SET( CMAKE_CXX_FLAGS "/O2 -DHAVE_CXX0X /W1 /openmp /EHsc" )
54
endif()
55
56
# examples
0 commit comments