summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-07-16 21:20:05 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-07-16 21:20:05 +0000
commitdd6f8440e3706a7d9bc4a3d72b483d838c3665d4 (patch)
tree8152018ab1d0ff0d34c04262a1aad535534772ac /cmake
parentfa48069ee901fad2663e7cd57dbdddc3d2a21502 (diff)
[CMake] One more attempt to fix PR24144.
This time, exclude ExternalProject from build using set_target_properties. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@242444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/AddCompilerRT.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/Modules/AddCompilerRT.cmake b/cmake/Modules/AddCompilerRT.cmake
index ab155bf45..5ea313ba7 100644
--- a/cmake/Modules/AddCompilerRT.cmake
+++ b/cmake/Modules/AddCompilerRT.cmake
@@ -245,7 +245,6 @@ macro(add_custom_libcxx name prefix)
list(APPEND LIBCXX_DEPS clang)
endif()
- set(EXCLUDE_FROM_ALL TRUE)
ExternalProject_Add(${name}
PREFIX ${prefix}
SOURCE_DIR ${COMPILER_RT_LIBCXX_PATH}
@@ -259,6 +258,7 @@ macro(add_custom_libcxx name prefix)
LOG_CONFIGURE 1
LOG_INSTALL 1
)
+ set_target_properties(${name} PROPERTIES EXCLUDE_FROM_ALL TRUE)
ExternalProject_Add_Step(${name} force-reconfigure
DEPENDERS configure
@@ -272,5 +272,4 @@ macro(add_custom_libcxx name prefix)
DEPENDERS configure
DEPENDS ${LIBCXX_DEPS}
)
- set(EXCLUDE_FROM_ALL FALSE)
endmacro()