all repos — mgba @ 360890d5dc733520d76680565ac3f63aa088fc2e

mGBA Game Boy Advance Emulator

Qt: Fix portable.ini creation
Vicki Pfau vi@endrift.com
Wed, 03 Oct 2018 20:53:26 -0700
commit

360890d5dc733520d76680565ac3f63aa088fc2e

parent

c94c5eeedf600efa7ed9d70da5d64e02df953371

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

@@ -348,8 +348,8 @@ find_program(BASH bash)

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()