This describes how you can easily copy an assets directory to the source dir using cmake
add_custom_target(copy_resources ALL COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/assets ${PROJECT_BINARY_DIR}/assets COMMENT "Copying resources into binary directory") add_dependencies(${PROJECT_NAME} copy_resources)