cmake: allow not finding some clang libs

partial revert of aaf99371b2
because it broke the build for some people
This commit is contained in:
Andrew Kelley 2020-04-11 22:09:17 -04:00
parent dbc00e2424
commit f79faf9008

View File

@ -48,7 +48,9 @@ else()
/c/msys64/mingw64/lib /c/msys64/mingw64/lib
c:\\msys64\\mingw64\\lib c:\\msys64\\mingw64\\lib
) )
if(CLANG_${_prettylibname_}_LIB)
set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_${_prettylibname_}_LIB}) set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_${_prettylibname_}_LIB})
endif()
endmacro(FIND_AND_ADD_CLANG_LIB) endmacro(FIND_AND_ADD_CLANG_LIB)
FIND_AND_ADD_CLANG_LIB(clangFrontendTool) FIND_AND_ADD_CLANG_LIB(clangFrontendTool)