Commit fdc99236 authored by reneX's avatar reneX
Browse files

ENH: not necessary to copy assets when running the bin examples from install folder

parent 7f451750
Pipeline #161568 passed with stage
......@@ -17,10 +17,4 @@ f.write("#----------------------------------------------------------------------
f.write("# Add Example subdirectories\n")
[f.write("add_subdirectory(%s)\n"%o) for o in os.listdir(str(sys.argv[1])) if os.path.isdir(os.path.join(str(sys.argv[1]),o))]
f.write("# Copy asset files for the VK examples\n")
f.write("if(LINUX AND NOT APPLE AND iMSTK_USE_Vulkan)\n")
f.write("\tmessage(STATUS \"INFO - Relocating shaders\")\n")
f.write("\tfile(COPY ${CMAKE_CACHEFILE_DIR}/Shaders/VulkanShaders\n")
f.write("\tDESTINATION ${PROJECT_BINARY_DIR}/Examples/data/shaders)\n")
f.write("endif() \n")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment