RandyGaul / cute_framework

The *cutest* framework out there for creating 2D games in C++!
https://randygaul.github.io/cute_framework/#/
Other
534 stars 31 forks source link

Use correct directory when copying sample data #178

Closed thealpaca89 closed 2 months ago

thealpaca89 commented 2 months ago

This commit updates the CMakeLists.txt file to use the correct directory when copying over the sample data when building from source directory.

Previously, the sample data was copied from the top-level CMake working dir, which wouldn't work when the samples were being built from a project including CF.

With this change, the sample data should be copied over from the CF working directory, which should work in all cases.

RandyGaul commented 2 months ago

This bug has been annoying for quite some time, thank you very much for helping with it!