wang-bin / fvp

Flutter video player plugin for all desktop+mobile platforms. download prebuilt examples from github actions. https://pub.dev/packages/fvp
BSD 3-Clause "New" or "Revised" License
126 stars 20 forks source link

linux 构建生成cmake_install.cmake中的CMAKE_INSTALL_PREFIX不正确 #77

Closed ghost closed 3 months ago

ghost commented 3 months ago

正常的cmake_install.cmake应该是:

# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "/home/yarun/usr/project/flutter_videos/build/linux/x64/release/bundle")
endif()

fvp构建却生成了:

# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()

fvp生成的install目录变成了/usr/local目录

wang-bin commented 3 months ago

没有install相关的代码,应该是flutter或cmake的默认行为。你为什么要install?如何操作的?

wang-bin commented 3 months ago

github actions 编译日志里编译example会install,目录是正确的

wang-bin commented 3 months ago

无法复现