diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a380bc804..879800575 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -94,7 +94,7 @@ add_executable(testoffscreen testoffscreen.c) file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/resources_dummy.c "int main(int argc, const char **argv){ return 1; }\n") add_executable(SDL2_test_resoureces ${CMAKE_CURRENT_BINARY_DIR}/resources_dummy.c) -file(GLOB RESOURCE_FILES *.bmp *.wav) +file(GLOB RESOURCE_FILES *.bmp *.wav moose.dat utf8.txt) foreach(RESOURCE_FILE ${RESOURCE_FILES}) add_custom_command(TARGET SDL2_test_resoureces POST_BUILD COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${RESOURCE_FILE} $) endforeach(RESOURCE_FILE)