Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: tools/clang/plugins/CMakeLists.txt

Issue 615083006: Fix clang tooling build on Linux (shim CMake in LLVM tree). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor formatting tweak Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang/plugins/CMakeLists.txt
diff --git a/tools/clang/plugins/CMakeLists.txt b/tools/clang/plugins/CMakeLists.txt
index df30cdd0dbdc0ff27edfff680af8d022017c9898..7dcdb4884184ab4dd1fabe0383c6f650d3517aee 100644
--- a/tools/clang/plugins/CMakeLists.txt
+++ b/tools/clang/plugins/CMakeLists.txt
@@ -4,10 +4,10 @@ add_llvm_loadable_module(libFindBadConstructs
FindBadConstructsConsumer.cpp
)
-install(TARGETS libFindBadConstructs LIBRARY DESTINATION lib)
+cr_install(TARGETS libFindBadConstructs LIBRARY DESTINATION lib)
cr_add_test(plugins_test
${CMAKE_CURRENT_SOURCE_DIR}/tests/test.sh
- ${LLVM_BUILD_DIR}/bin/clang
+ ${CMAKE_BINARY_DIR}/bin/clang
$<TARGET_FILE:libFindBadConstructs>
)

Powered by Google App Engine
This is Rietveld 408576698