mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix portable.ini creation
This commit is contained in:
parent
c94c5eeedf
commit
360890d5dc
|
@ -348,8 +348,8 @@ elseif(WIN32)
|
|||
install(CODE "execute_process(COMMAND \"${BASH}\" \"${CMAKE_SOURCE_DIR}/tools/deploy-win.sh\" \"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.exe\" \"\${CMAKE_INSTALL_PREFIX}\" \"\$ENV{PWD}\" WORKING_DIRECTORY \"${CMAKE_BINARY_DIR}\")" COMPONENT ${BINARY_NAME}-qt)
|
||||
endif()
|
||||
if(DISTBUILD)
|
||||
file(WRITE "portable.ini" "")
|
||||
install(FILES "portable.ini" DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${BINARY_NAME}-qt)
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/portable.ini" "")
|
||||
install(FILES "${CMAKE_BINARY_DIR}/portable.ini" DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${BINARY_NAME}-qt)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue