mirror of https://github.com/mgba-emu/mgba.git
Qt: Remove absolute path for bundle installation to make CPack work
This commit is contained in:
parent
444d703e90
commit
37d21b24b8
|
@ -93,7 +93,7 @@ target_link_libraries(${BINARY_NAME}-qt ${PLATFORM_LIBRARY} ${OPENGL_LIBRARY} ${
|
||||||
|
|
||||||
install(TARGETS ${BINARY_NAME}-qt
|
install(TARGETS ${BINARY_NAME}-qt
|
||||||
RUNTIME DESTINATION bin COMPONENT ${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)
|
if(APPLE OR WIN32)
|
||||||
set_target_properties(${BINARY_NAME}-qt PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
|
set_target_properties(${BINARY_NAME}-qt PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue