We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8fb040 commit cdc602aCopy full SHA for cdc602a
CMakeLists.txt
@@ -55,5 +55,8 @@ add_subdirectory(3rd_party)
55
add_subdirectory(AdTree)
56
57
## Resources
58
-# Copy resources dirs into our shadow build directory
59
-file( COPY ${CMAKE_CURRENT_SOURCE_DIR}/resources DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} )
+# Copy resources dirs into our shadow build directory. For AdTree only the shaders are needed
+if (NOT APPLE)
60
+ file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/resources/shaders DESTINATION" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/resources")
61
+endif ()
62
+
0 commit comments