Commit 7ce3458c authored by Ghislain MARY's avatar Ghislain MARY

Handle source package generation for linphoneqt.

parent 76556481
......@@ -392,3 +392,21 @@ install(FILES "${ASSETS_ASSISTANT_DIR}/create-linphone-sip-account.rc"
install(FILES "${ASSETS_ASSISTANT_DIR}/use-linphone-sip-account.rc"
DESTINATION "${ASSISTANT_INSTALL_DATADIR}"
)
# ------------------------------------------------------------------------------
# CPack settings.
# ------------------------------------------------------------------------------
set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${PROJECT_VERSION}")
set(CPACK_SOURCE_IGNORE_FILES
"^${CMAKE_BINARY_DIR}"
"/\\\\..+"
"OUTPUT"
"WORK"
"cmake_builder"
"submodules"
)
include(CPack)
......@@ -24,8 +24,9 @@ lcb_external_source_paths("..")
lcb_dependencies("linphone" "ms2plugins")
lcb_groupable(YES)
lcb_cmake_options("-DENABLE_UPDATE_CHECK=${ENABLE_UPDATE_CHECK}")
lcb_package_source(YES)
lcb_cmake_options("-DENABLE_UPDATE_CHECK=${ENABLE_UPDATE_CHECK}")
if(UNIX AND NOT APPLE)
lcb_cmake_options("-DENABLE_DBUS=${ENABLE_DBUS}")
endif()
......
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