Commit c184343c authored by Wouter's avatar Wouter

Explicitly set up Wine to call DistributionTool

parent 63eaaa2a
Pipeline #358 passed with stages
in 2 minutes and 50 seconds
......@@ -21,7 +21,7 @@ build:
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR}/install -DSTREAMDECK_DISTRIBUTION_TOOL=../elgato-sdk/DistributionTool.exe ..
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR}/install -DSTREAMDECK_DISTRIBUTION_TOOL=../elgato-sdk/DistributionTool.exe -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/wine ..
- make
- make install
artifacts:
......
......@@ -54,7 +54,7 @@ function(add_streamdeck_plugin PLUGIN_NAME)
add_custom_command(OUTPUT "${PLUGIN_NAME}.streamDeckPlugin"
COMMAND ${CMAKE_COMMAND} -E remove "${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.streamDeckPlugin"
COMMAND ! ${STREAMDECK_DISTRIBUTION_TOOL} "-b" "-i" "${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.sdPlugin" "-o" "${CMAKE_CURRENT_BINARY_DIR}"
COMMAND ! ${CMAKE_CROSSCOMPILING_EMULATOR} ${STREAMDECK_DISTRIBUTION_TOOL} "-b" "-i" "${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.sdPlugin" "-o" "${CMAKE_CURRENT_BINARY_DIR}"
DEPENDS ${DEST_FILES}
VERBATIM
COMMENT "Packing scripts to ${PLUGIN_NAME}.streamDeckPlugin"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment