summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-01-03 11:18:17 +0000
committerEric Fiselier <eric@efcs.ca>2017-01-03 11:18:17 +0000
commita0a61faad135e585fc5607add33e055d9fc7357b (patch)
treecd012a9738b0de74162fec0081b51be3e323cf41
parent9434690ab7bedce1e40a5a67d1f02641ee17c84f (diff)
downloadbcm5719-llvm-a0a61faad135e585fc5607add33e055d9fc7357b.tar.gz
bcm5719-llvm-a0a61faad135e585fc5607add33e055d9fc7357b.zip
Simplify CMake target for the __generated_config header
llvm-svn: 290875
-rw-r--r--libcxx/include/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt
index 2fa44ca68fc..1c6790ab465 100644
--- a/libcxx/include/CMakeLists.txt
+++ b/libcxx/include/CMakeLists.txt
@@ -31,11 +31,8 @@ if (LIBCXX_INSTALL_HEADERS)
# Generate and install a custom __config header. The new header is created
# by prepending __config_site to the current __config header.
add_custom_command(OUTPUT ${LIBCXX_BINARY_DIR}/__generated_config
- COMMAND ${CMAKE_COMMAND} -E copy
- ${LIBCXX_BINARY_DIR}/__config_site
- ${LIBCXX_BINARY_DIR}/__generated_config
COMMAND ${PYTHON_EXECUTABLE} ${LIBCXX_SOURCE_DIR}/utils/cat_files.py
- ${LIBCXX_BINARY_DIR}/__generated_config
+ ${LIBCXX_BINARY_DIR}/__config_site
${LIBCXX_SOURCE_DIR}/include/__config
-o ${LIBCXX_BINARY_DIR}/__generated_config
DEPENDS ${LIBCXX_SOURCE_DIR}/include/__config
OpenPOWER on IntegriCloud