authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-04-11 22:09:17-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-04-11 22:09:17-04:00
logf79faf9008c8e4c5539780e712012c55ab1b3cfc
tree047ae4e0e1fe4245e246c986343c4f0093cc5de5
parentdbc00e24247da16ac584bb9e92b5ccf04647c3b9

cmake: allow not finding some clang libs

partial revert of aaf99371b22e816a4162391d799b9d22bba21120 because it broke the build for some people

1 files changed, 3 insertions(+), 1 deletions(-)

cmake/Findclang.cmake+3-1
......@@ -48,7 +48,9 @@ else()
4848 /c/msys64/mingw64/lib
4949 c:\\msys64\\mingw64\\lib
5050 )
51 set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_${_prettylibname_}_LIB})
51 if(CLANG_${_prettylibname_}_LIB)
52 set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_${_prettylibname_}_LIB})
53 endif()
5254 endmacro(FIND_AND_ADD_CLANG_LIB)
5355
5456 FIND_AND_ADD_CLANG_LIB(clangFrontendTool)