Skip to content

Commit

Permalink
[CMake] Fix the the CMake definition for tools
Browse files Browse the repository at this point in the history
Fixing a mistake after the bump to LLVM 15
  • Loading branch information
banach-space committed Oct 1, 2022
1 parent d68ff16 commit 2462ff3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ set(ct-code-style-checker_SOURCES
# triggered for static libs)
# * `libclang-cpp`/`libLLVM` include all Clang/LLVM libraries (i.e. all the
# libraries listed below _and more_)
set(libs "clang")
set(libs "clangTooling")

try_compile(testMinimalCompilation "${CMAKE_BINARY_DIR}/temp" SOURCES
${ct-la-commenter_SOURCES})
Expand All @@ -43,8 +43,6 @@ if(NOT ${testMinimalCompilation})
set(libs "clang-cpp" "LLVM")
endif()

message("list libs: ${libs}")

# CONFIGURE THE TOOLS
# ===================
foreach( tool ${CLANG_TUTOR_TOOLS} )
Expand Down

0 comments on commit 2462ff3

Please sign in to comment.