[libc-commits] [PATCH] D73452: [libc] Fix benchmarks CMakeLists.txt
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Jan 29 07:03:32 PST 2020
gchatelet updated this revision to Diff 241151.
gchatelet added a comment.
- updated commit message
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73452/new/
https://reviews.llvm.org/D73452
Files:
libc/utils/benchmarks/CMakeLists.txt
Index: libc/utils/benchmarks/CMakeLists.txt
===================================================================
--- libc/utils/benchmarks/CMakeLists.txt
+++ libc/utils/benchmarks/CMakeLists.txt
@@ -91,9 +91,17 @@
LibcBenchmark.h
)
add_dependencies(libc-benchmark google-benchmark)
-target_include_directories(libc-benchmark PUBLIC "${GOOGLE_BENCHMARK_LIBC_INSTALL}/include")
-target_link_options(libc-benchmark PUBLIC "${GOOGLE_BENCHMARK_LINK_FLAGS}")
-target_link_libraries(libc-benchmark PUBLIC LLVMSupport -lbenchmark Threads::Threads)
+target_include_directories(libc-benchmark
+ PUBLIC
+ "${GOOGLE_BENCHMARK_LIBC_INSTALL}/include"
+)
+target_link_libraries(libc-benchmark
+ PUBLIC
+ "${GOOGLE_BENCHMARK_LINK_FLAGS}" # FIXME: Move to `target_link_options`
+ -lbenchmark # FIXME: Move to `target_link_options`
+ LLVMSupport
+ Threads::Threads
+)
fix_rtti(libc-benchmark)
add_libc_benchmark_unittest(libc-benchmark-test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73452.241151.patch
Type: text/x-patch
Size: 975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200129/b6d8977d/attachment-0001.bin>
More information about the libc-commits
mailing list