build_environment: llvm only copy lib files for the debug build.
[blender.git] / build_files / build_environment / cmake / llvm.cmake
index 7390b1bf011aa4463116be81a2c12502d54d8d94..1aa31bc9d32e49cddf832a8fcd11fa1f27c2de80 100644 (file)
@@ -47,9 +47,7 @@ if(MSVC)
                set(LLVM_HARVEST_COMMAND ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/llvm/ ${HARVEST_TARGET}/llvm/ )
        else()
                set(LLVM_HARVEST_COMMAND
-                       ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/llvm/lib/ ${HARVEST_TARGET}/llvm/debug/lib/ &&
-                       ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/llvm/bin/ ${HARVEST_TARGET}/llvm/debug/bin/ &&
-                       ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/llvm/include/ ${HARVEST_TARGET}/llvm/debug/include/
+                       ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/llvm/lib/ ${HARVEST_TARGET}/llvm/debug/lib/
                )
        endif()
        ExternalProject_Add_Step(ll after_install