From 65592466698ea7496ed89ed6395d2f027d4a35b0 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sat, 12 Nov 2011 13:30:07 +0100 Subject: [PATCH] Don't needlessly copy over druntime/Phobos to build directory. This reapplies d57637a0a16e6b5ad40b66a3bf5059f3fc1a51c2, which was lost in merging. --- runtime/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 5894203b..98e44507 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -326,13 +326,6 @@ macro(build_runtime d_flags c_flags ld_flags lib_suffix path_suffix) set(BCLIBS bclibs) endif(BUILD_BC_LIBS) - if(D_VERSION EQUAL 2) - if(NOT PROJECT_BINARY_DIR STREQUAL "${PROJECT_SOURCE_DIR}") - file(COPY ${PROJECT_PARENT_DIR}/${RUNTIME} DESTINATION ${PROJECT_BINARY_DIR}/../) - file(COPY ${PROJECT_PARENT_DIR}/phobos DESTINATION ${PROJECT_BINARY_DIR}/../) - endif(NOT PROJECT_BINARY_DIR STREQUAL "${PROJECT_SOURCE_DIR}") - endif(D_VERSION EQUAL 2) - set_target_properties( ${LIBS} PROPERTIES LINKER_LANGUAGE C