Skip to content

Commit 01fe961

Browse files
committed
Bring back the removal of EHsc from CMAKE_CXX_FLAGS
1 parent 35de28c commit 01fe961

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
@@ -173,7 +173,7 @@ if(HNSWLIB_EXAMPLES)
173173
set(${FLAGS_VAR} "${${FLAGS_VAR}}" CACHE STRING
174174
"Flags for ${config} configuration." FORCE)
175175
endforeach()
176-
# string(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
176+
string(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
177177
endif()
178178
add_cxx_flags(/O2 /W1 /openmp)
179179
endif()

0 commit comments

Comments
 (0)