mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
cmake: allow not finding some clang libs
partial revert of aaf99371b2
because it broke the build for some people
This commit is contained in:
parent
dbc00e2424
commit
f79faf9008
@ -48,7 +48,9 @@ else()
|
||||
/c/msys64/mingw64/lib
|
||||
c:\\msys64\\mingw64\\lib
|
||||
)
|
||||
set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_${_prettylibname_}_LIB})
|
||||
if(CLANG_${_prettylibname_}_LIB)
|
||||
set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_${_prettylibname_}_LIB})
|
||||
endif()
|
||||
endmacro(FIND_AND_ADD_CLANG_LIB)
|
||||
|
||||
FIND_AND_ADD_CLANG_LIB(clangFrontendTool)
|
||||
|
Loading…
Reference in New Issue
Block a user