build_environment: llvm only copy lib files for the debug build.
authorRay Molenkamp <github@lazydodo.com>
Tue, 28 Aug 2018 01:23:45 +0000 (19:23 -0600)
committerRay Molenkamp <github@lazydodo.com>
Tue, 28 Aug 2018 01:38:31 +0000 (19:38 -0600)
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