Debian Codegraph @

cmake/scripts/ExtraDist.cmake.in

raw
1 # Distributed under the original FontForge BSD 3-clause license
2
3 #[=======================================================================[.rst:
4 ExtraDist
5 ---------
6
7 Helper script for CPack to add additional files to the dist bundle.
8 Currently used to:
9 * Add the downloaded/generated fonts
10
11 #]=======================================================================]
12
13 if(CPACK_SOURCE_INSTALLED_DIRECTORIES)
14 message(STATUS "Adding retrieved/generated fonts from @PROJECT_BINARY_DIR@/tests/fonts to ${CMAKE_CURRENT_BINARY_DIR}/tests/fonts...")
15 file(INSTALL "@PROJECT_BINARY_DIR@/tests/fonts" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/tests")
16 endif()