Commit abd69d41 authored by François Grisez's avatar François Grisez
Browse files

Only create liblinphone-win32-sdk.zip on Windows

parent b3479eca
......@@ -46,10 +46,12 @@ list(GET SPLITTED_LINPHONE_VERSION 1 LINPHONE_MINOR_VERSION)
list(GET SPLITTED_LINPHONE_VERSION 2 LINPHONE_MICRO_VERSION)
# Generate a zip archive containing the development files of liblinphone
execute_process(
COMMAND 7z a -tzip ${CMAKE_BINARY_DIR}/liblinphone-win32-sdk-${LINPHONE_GIT_REVISION}.zip @${CMAKE_SOURCE_DIR}/linphone-sdk.list
WORKING_DIRECTORY ${LINPHONE_OUTPUT_DIR}
)
if(WIN32)
execute_process(
COMMAND 7z a -tzip ${CMAKE_BINARY_DIR}/liblinphone-win32-sdk-${LINPHONE_GIT_REVISION}.zip @${CMAKE_SOURCE_DIR}/linphone-sdk.list
WORKING_DIRECTORY ${LINPHONE_OUTPUT_DIR}
)
endif()
install(DIRECTORY "${LINPHONE_OUTPUT_DIR}/"
DESTINATION "."
......
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