Skip to content

Commit cdc602a

Browse files
committed
copy only shaders
1 parent f8fb040 commit cdc602a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,8 @@ add_subdirectory(3rd_party)
5555
add_subdirectory(AdTree)
5656

5757
## Resources
58-
# Copy resources dirs into our shadow build directory
59-
file( COPY ${CMAKE_CURRENT_SOURCE_DIR}/resources DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} )
58+
# Copy resources dirs into our shadow build directory. For AdTree only the shaders are needed
59+
if (NOT APPLE)
60+
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/resources/shaders DESTINATION" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/resources")
61+
endif ()
62+

0 commit comments

Comments
 (0)