Skip to content

Commit e3801f2

Browse files
committed
Remove unnecessary cplusplus flag from being defined for Windows builds
The flag was added because move operators were not enabled on some versions of visual studio without it, however cl/274675656 fixed the issue so that it will work without the flag. PiperOrigin-RevId: 288730959
1 parent 9eb6db3 commit e3801f2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ option(FIREBASE_CPP_BUILD_TESTS
4545
option(FIREBASE_FORCE_FAKE_SECURE_STORAGE
4646
"Disable use of platform secret store and use fake impl." OFF)
4747

48-
if(WIN32)
49-
# Turn on the use of the __cplusplus compiler define that is used to detect if
50-
# move operators are supported
51-
add_definitions("/Zc:__cplusplus")
52-
endif()
53-
5448
list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_CURRENT_LIST_DIR}/cmake)
5549
include(external_rules)
5650

0 commit comments

Comments
 (0)