Skip to content

Commit b88e286

Browse files
committed
MSVC bug.
1 parent 5206e88 commit b88e286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ elseif(WIN32)
3737
# /O2 and /O2b not supported, use /O1 /Ob1 by now until we
3838
# can find why string_function is an non-NULL invalid pointer
3939
set(CMAKE_C_FLAGS_RELEASE "/O1")
40-
set(CMAKE_CXX_FLAGS_RELEASE "O1")
40+
set(CMAKE_CXX_FLAGS_RELEASE "/O1")
4141
endif()
4242

4343
# Default build type

0 commit comments

Comments
 (0)