Skip to content

Commit

Permalink
fix(core, windows): allow user to override MSVC_RUNTIME_MODE (#11150)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightrabbit committed Oct 19, 2023
1 parent 54f54d6 commit 3be2867
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/firebase_core/firebase_core/windows/CMakeLists.txt
Expand Up @@ -86,7 +86,10 @@ target_compile_definitions(${PLUGIN_NAME} PUBLIC FLUTTER_PLUGIN_IMPL)

# Source include directories and library dependencies. Add any plugin-specific
# dependencies here.
set(MSVC_RUNTIME_MODE MD)
if(NOT MSVC_RUNTIME_MODE)
set(MSVC_RUNTIME_MODE MD)
endif()

add_subdirectory(${FIREBASE_CPP_SDK_DIR} bin/ EXCLUDE_FROM_ALL)
target_include_directories(${PLUGIN_NAME} INTERFACE
"${FIREBASE_CPP_SDK_DIR}/include")
Expand Down

0 comments on commit 3be2867

Please sign in to comment.