mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +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
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user