mirror of https://github.com/mgba-emu/mgba.git
All: Partially revert datadir change
This commit is contained in:
parent
1055e325a0
commit
8504737efd
|
@ -253,7 +253,7 @@ install(TARGETS ${BINARY_NAME}-qt
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
find_program(DESKTOP_FILE_INSTALL desktop-file-install)
|
find_program(DESKTOP_FILE_INSTALL desktop-file-install)
|
||||||
if(DESKTOP_FILE_INSTALL)
|
if(DESKTOP_FILE_INSTALL)
|
||||||
install(CODE "execute_process(COMMAND ${DESKTOP_FILE_INSTALL} \"${CMAKE_SOURCE_DIR}/res/mgba-qt.desktop\" --dir \"\$ENV{DESTDIR}\${CMAKE_INSTALL_FULL_DATADIR}/applications/\")")
|
install(CODE "execute_process(COMMAND ${DESKTOP_FILE_INSTALL} \"${CMAKE_SOURCE_DIR}/res/mgba-qt.desktop\" --dir \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/applications/\")")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
|
|
Loading…
Reference in New Issue