Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
trying rollback cmake file
  • Loading branch information
appdevelpo committed Dec 2, 2023
1 parent 4b6b41a commit 905aef9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions windows/flutter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ include(${EPHEMERAL_DIR}/generated_config.cmake)
# https://github.com/flutter/flutter/issues/57146.
set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper")

# Set fallback configurations for older versions of the flutter tool.
if (NOT DEFINED FLUTTER_TARGET_PLATFORM)
set(FLUTTER_TARGET_PLATFORM "windows-x64")
endif()
# # Set fallback configurations for older versions of the flutter tool.
# if (NOT DEFINED FLUTTER_TARGET_PLATFORM)
# set(FLUTTER_TARGET_PLATFORM "windows-x64")
# endif()

# === Flutter Library ===
set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll")
Expand Down Expand Up @@ -97,7 +97,8 @@ add_custom_command(
COMMAND ${CMAKE_COMMAND} -E env
${FLUTTER_TOOL_ENVIRONMENT}
"${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat"
${FLUTTER_TARGET_PLATFORM} $<CONFIG>
# ${FLUTTER_TARGET_PLATFORM} $<CONFIG>
windows-x64 $<CONFIG>
VERBATIM
)
add_custom_target(flutter_assemble DEPENDS
Expand Down

0 comments on commit 905aef9

Please sign in to comment.