aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authornathansmithsmith <nathansmith7@mailfence.com>2023-11-08 12:12:29 -0700
committernathansmithsmith <nathansmith7@mailfence.com>2023-11-08 12:12:29 -0700
commitac7470ce5d680caa7fb53c235aea10cba45e1836 (patch)
tree4eeb6912414ac9280cf8c1fad267040b0ada2e98 /CMakeLists.txt
parent10a0fb1c52a50b44bd2df064c977a3a15146facf (diff)
rres asset loading working
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 991753a..16d2099 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,6 +15,8 @@ add_executable(${PROJECT_NAME} ${SRC_FILES})
target_include_directories(${PROJECT_NAME} PUBLIC include src)
target_link_libraries(${PROJECT_NAME} raylib m)
+file(COPY assets/assets.rres DESTINATION ${CMAKE_BINARY_DIR})
+
# Checks if OSX and links appropriate frameworks (Only required on MacOS)
if (APPLE)
target_link_libraries(${PROJECT_NAME} "-framework IOKit")