Commit 9eba0d2a authored by Ronan's avatar Ronan

fix(linphone_package): fix package generation

parent 32870cc9
Pipeline #222 failed with stage
in 0 seconds
......@@ -165,7 +165,7 @@ if (WIN32)
list(APPEND SHARE_CONTENT_EXCLUDE PATTERN "${ITEM}" EXCLUDE)
endforeach ()
install(DIRECTORY "${LINPHONE_OUTPUT_DIR}"
install(DIRECTORY "${LINPHONE_OUTPUT_DIR}/"
DESTINATION "."
PATTERN "bin/*_tester.exe" EXCLUDE
PATTERN "bin/belcard*.exe" EXCLUDE
......
......@@ -22,7 +22,7 @@
if (NOT "${CMAKE_INSTALL_PREFIX}" MATCHES .*/_CPack_Packages/.*)
execute_process(
COMMAND ${CMAKE_CPACK_COMMAND} -G ${CPACK_GENERATOR}
COMMAND ${CMAKE_CPACK_COMMAND} -G @CPACK_GENERATOR@
RESULT_VARIABLE CPACK_COMMAND_SUCCESS
)
......
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