Fix packaging because of component definition from submodule (CPack)

This commit is contained in:
Julien Wadel 2024-09-17 15:06:53 +02:00
parent b4342923f6
commit 0315266ef1

View file

@ -171,7 +171,9 @@ if(${ENABLE_APP_PACKAGING})
set(CPACK_PACKAGE_VERSION_PATCH ${LINPHONE_MICRO_VERSION})
endif ()
set(CPACK_PACKAGE_EXECUTABLES "${EXECUTABLE_NAME};${APPLICATION_NAME}")
set(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE)
set(CPACK_MONOLITHIC_INSTALL TRUE)# Need it since libturbo-jpeg introduce components (lib/include etc.)
if(ENABLE_APP_LICENSE)
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt")
else()