From c95056959d7f7dc34cc612693b2227927e9e61f1 Mon Sep 17 00:00:00 2001 From: Fabian Schiebel Date: Wed, 13 Mar 2024 20:51:45 +0100 Subject: [PATCH] Fix in-tree build --- cmake/add_llvm.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/add_llvm.cmake b/cmake/add_llvm.cmake index c6d98c366..7cf3ceb94 100644 --- a/cmake/add_llvm.cmake +++ b/cmake/add_llvm.cmake @@ -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}) @@ -93,4 +93,4 @@ function(add_clang) ${PROJECT_BINARY_DIR}/tools/clang/include ) endif() -endfunction(add_clang) +endmacro(add_clang)