Skip to content

Commit ceb99d0

Browse files
committed
changing compiler option for exceptions to private
1 parent 730f73e commit ceb99d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,9 @@ set_property(TARGET firebase_app PROPERTY FOLDER "Firebase Cpp")
328328

329329
# Disable exceptions in std
330330
if (MSVC)
331-
target_compile_options(firebase_app PUBLIC /EHs-c-)
331+
target_compile_options(firebase_app PRIVATE /EHs-c-)
332332
else()
333-
target_compile_options(firebase_app PUBLIC -fno-exceptions)
333+
target_compile_options(firebase_app PRIVATE -fno-exceptions)
334334
endif()
335335

336336
target_include_directories(firebase_app

0 commit comments

Comments
 (0)