Qt: Remove absolute path for bundle installation to make CPack work

This commit is contained in:
Jeffrey Pfau 2014-12-27 19:11:48 -08:00
parent 444d703e90
commit 37d21b24b8
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ target_link_libraries(${BINARY_NAME}-qt ${PLATFORM_LIBRARY} ${OPENGL_LIBRARY} ${
install(TARGETS ${BINARY_NAME}-qt
RUNTIME DESTINATION bin COMPONENT ${BINARY_NAME}-qt
BUNDLE DESTINATION ${CMAKE_INSTALL_PREFIX}/Applications COMPONENT ${BINARY_NAME}-qt)
BUNDLE DESTINATION Applications COMPONENT ${BINARY_NAME}-qt)
if(APPLE OR WIN32)
set_target_properties(${BINARY_NAME}-qt PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
endif()