mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Deployment fix and project configuration improvement
This commit is contained in:
parent
99ebfd2f7b
commit
c951ef647a
1 changed files with 9 additions and 0 deletions
|
|
@ -96,6 +96,10 @@ set_target_properties(${TARGET_NAME} PROPERTIES
|
|||
MACOSX_BUNDLE TRUE
|
||||
WIN32_EXECUTABLE TRUE
|
||||
OUTPUT_NAME "${EXECUTABLE_NAME}"
|
||||
# Added for Qt to set the correct path on run configurations.
|
||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}"
|
||||
)
|
||||
if(MSVC)
|
||||
set_target_properties(${TARGET_NAME} PROPERTIES PDB_NAME "${EXECUTABLE_NAME}_app")
|
||||
|
|
@ -114,6 +118,11 @@ endforeach()
|
|||
# INSTALL
|
||||
################################################################
|
||||
|
||||
|
||||
install(TARGETS ${TARGET_NAME}
|
||||
BUNDLE DESTINATION .
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/data/assistant"
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/${EXECUTABLE_NAME}"
|
||||
USE_SOURCE_PERMISSIONS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue