diff options
author | Louis Dionne <ldionne@apple.com> | 2019-10-03 17:20:50 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-10-03 17:20:50 +0000 |
commit | c5b74bf6e548441064eabc54e6078c35cd6116a7 (patch) | |
tree | d4f69b15ca4291b0a57ce924b10b139cd17d54f0 /libcxx/benchmarks | |
parent | e6f51713054f8199c61a9dc94faf3dbce1221c02 (diff) | |
download | bcm5719-llvm-c5b74bf6e548441064eabc54e6078c35cd6116a7.tar.gz bcm5719-llvm-c5b74bf6e548441064eabc54e6078c35cd6116a7.zip |
[libc++] Add a per-target flag to include the generated config_site
This allows propagating the include automatically to targets that
depend on one of the libc++ targets such as the benchmarks. Note
that the GoogleBenchmark build itself still needs to manually specify
the -include, since I don't know of any way to have an external project
link against one of the libc++ targets (which would propagate the -include
automatically).
llvm-svn: 373631
Diffstat (limited to 'libcxx/benchmarks')
-rw-r--r-- | libcxx/benchmarks/CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libcxx/benchmarks/CMakeLists.txt b/libcxx/benchmarks/CMakeLists.txt index d80cb1af03a..56fadff1f93 100644 --- a/libcxx/benchmarks/CMakeLists.txt +++ b/libcxx/benchmarks/CMakeLists.txt @@ -95,10 +95,6 @@ set(BENCHMARK_TEST_LIBCXX_COMPILE_FLAGS ${SANITIZER_FLAGS} -Wno-user-defined-literals ) -if (LIBCXX_NEEDS_SITE_CONFIG) - list(APPEND BENCHMARK_TEST_LIBCXX_COMPILE_FLAGS - -include "${LIBCXX_BINARY_DIR}/__config_site") -endif() set(BENCHMARK_TEST_LIBCXX_LINK_FLAGS -nodefaultlibs |