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
1515 "${CMAKE_CURRENT_SOURCE_DIR} /include" )
1616target_link_libraries (${PLUGIN_NAME} PRIVATE flutter flutter_wrapper_plugin)
1717
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-
2418set (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 ()
3019
31- set (INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX} " )
3220set (LIBOPENPGP_BRIDGE "libopenpgp_bridge.dll" )
3321set (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)
3622
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