Permalink
Browse files

fix cmake when building for iOS in a path with spaces

  • Loading branch information...
KentuckyCompass committed Dec 31, 2017
1 parent 2a3c440 commit bcd19ee520fd133d4b3a1f3a6432db0909a96236
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
View
@@ -1891,8 +1891,8 @@ if(IOS)
set(APP_DIR_NAME "$<TARGET_FILE_DIR:PPSSPP>")
endif()
add_custom_command(TARGET PPSSPP POST_BUILD
COMMAND mkdir -p ${APP_DIR_NAME}
COMMAND tar -c -C ${CMAKE_CURRENT_BINARY_DIR} --exclude .DS_Store --exclude .git assets *.png | tar -x -C ${APP_DIR_NAME}
COMMAND mkdir -p \"${APP_DIR_NAME}\"
COMMAND tar -c -C ${CMAKE_CURRENT_BINARY_DIR} --exclude .DS_Store --exclude .git assets *.png | tar -x -C \"${APP_DIR_NAME}\"
)
set_target_properties(${TargetBin} PROPERTIES
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/ios/PPSSPP-Info.plist"

0 comments on commit bcd19ee

Please sign in to comment.