Browse Source

Copy devilutionx.mpq to the build directory when performing CMake. #1472

pull/1491/head
Michael Saunders 5 years ago committed by Anders Jenbo
parent
commit
3c28d637a9
  1. 3
      CMakeLists.txt

3
CMakeLists.txt

@ -399,8 +399,9 @@ endif()
add_executable(${BIN_TARGET} WIN32 MACOSX_BUNDLE ${devilutionx_SRCS})
# Copy the font to the build directory to it works from the build directory
# Copy the font and devilutionx.mpq to the build directory to it works from the build directory
file(COPY "Packaging/resources/CharisSILB.ttf" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
file(COPY "Packaging/resources/devilutionx.mpq" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
# Use file GENERATE instead of configure_file because configure_file
# does not support generator expressions.

Loading…
Cancel
Save