Skip to content

Commit c3d239a

Browse files
committed
fix missing copy
1 parent be85e49 commit c3d239a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ if(BUILD_EXAMPLES)
425425
packet
426426
dma
427427
)
428+
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/examples/hires/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR} FILES_MATCHING REGEX "\\.(bmp|dat|fnt|jpg|png|ppm|raw|s|tiff)$")
428429
endif()
429430

430431
if("linuz-texture" IN_LIST BUILD_EXAMPLES)
@@ -436,6 +437,7 @@ if(BUILD_EXAMPLES)
436437
target_link_libraries(linuz-texture
437438
${GSKIT_SAMPLE_LIBS}
438439
)
440+
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/examples/linuz-texture/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR} FILES_MATCHING REGEX "\\.(bmp|dat|fnt|jpg|png|ppm|raw|s|tiff)$")
439441
endif()
440442

441443
if("png-texture" IN_LIST BUILD_EXAMPLES)
@@ -445,5 +447,6 @@ if(BUILD_EXAMPLES)
445447
target_link_libraries(png-texture
446448
${GSKIT_SAMPLE_LIBS}
447449
)
450+
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/examples/png-texture/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR} FILES_MATCHING REGEX "\\.(bmp|dat|fnt|jpg|png|ppm|raw|s|tiff)$")
448451
endif()
449452
endif()

0 commit comments

Comments
 (0)