File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -15,22 +15,13 @@ target_include_directories(${PLUGIN_NAME} INTERFACE
15
15
"${CMAKE_CURRENT_SOURCE_DIR} /include" )
16
16
target_link_libraries (${PLUGIN_NAME} PRIVATE flutter flutter_wrapper_plugin )
17
17
18
- # List of absolute paths to libraries that should be bundled with the plugin
19
- set (openpgp_bundled_libraries
20
- ""
21
- PARENT_SCOPE
22
- )
23
-
24
18
set (BUILD_BUNDLE_DIR "$<TARGET_FILE_DIR:${BINARY_NAME} >" )
25
- # Make the "install" step default, as it's required to run.
26
- set (CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1 )
27
- if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT )
28
- set (CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR} " CACHE PATH "..." FORCE )
29
- endif ()
30
19
31
- set (INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX} " )
32
20
set (LIBOPENPGP_BRIDGE "libopenpgp_bridge.dll" )
33
21
set (LIBOPENPGP_BRIDGE_PATH "${CMAKE_CURRENT_SOURCE_DIR} /shared/${LIBOPENPGP_BRIDGE} " )
34
- install (CODE "file(REMOVE_RECURSE \" ${INSTALL_BUNDLE_LIB_DIR} /${LIBOPENPGP_BRIDGE} \" )" COMPONENT Runtime )
35
- install (FILES "${LIBOPENPGP_BRIDGE_PATH} " DESTINATION "${INSTALL_BUNDLE_LIB_DIR} " COMPONENT Runtime )
36
22
23
+ # List of absolute paths to libraries that should be bundled with the plugin
24
+ set (openpgp_bundled_libraries
25
+ ${LIBOPENPGP_BRIDGE_PATH}
26
+ PARENT_SCOPE
27
+ )
You can’t perform that action at this time.
0 commit comments