Skip to content

Commit

Permalink
fix SlopeCraft installation on mac
Browse files Browse the repository at this point in the history
Signed-off-by: ToKiNoBug <tokinobug@163.com>
  • Loading branch information
ToKiNoBug committed Aug 10, 2024
1 parent b41b9a5 commit efb371e
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions SlopeCraft/install.cmake
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@

#file(GLOB SlopeCraft_install_jsons
# "${CMAKE_SOURCE_DIR}/Blocks/*.json"
# "${CMAKE_SOURCE_DIR}/Blocks/*.md")
#
#file(GLOB SlopeCraft_install_png_fixedblocks
# "${CMAKE_SOURCE_DIR}/Blocks/FixedBlocks/*.png")
#
#file(GLOB SlopeCraft_install_png_customblocks
# "${CMAKE_SOURCE_DIR}/Blocks/CustomBlocks/*.png")

file(GLOB SlopeCraft_block_list_archives
"${CMAKE_BINARY_DIR}/SCL_block_lists/*.zip")

Expand Down Expand Up @@ -44,7 +33,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
# Install all block list archives
install(FILES ${SlopeCraft_install_presets}
DESTINATION SlopeCraft.app/Contents/MacOS/Blocks)
file(COPY ${SlopeCraft_install_png_customblocks}
file(COPY ${SlopeCraft_block_list_archives}
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/SlopeCraft.app/Contents/MacOS/Blocks/)

# Install presets
Expand Down

0 comments on commit efb371e

Please sign in to comment.