Skip to content

Commit

Permalink
Fix in-tree build
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianbs96 committed Mar 13, 2024
1 parent 665b1b7 commit c950569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/add_llvm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ macro(add_llvm)

endmacro()

function(add_clang)
macro(add_clang)
# The clang-cpp shared library is now the preferred way to link dynamically against libclang if we build out of tree.
if(NOT PHASAR_IN_TREE)
find_library(CLANG_LIBRARY NAMES clang-cpp libclang-cpp HINTS ${LLVM_LIBRARY_DIRS})
Expand Down Expand Up @@ -93,4 +93,4 @@ function(add_clang)
${PROJECT_BINARY_DIR}/tools/clang/include
)
endif()
endfunction(add_clang)
endmacro(add_clang)

0 comments on commit c950569

Please sign in to comment.