Fix typo.

This commit is contained in:
Vassil Vassilev 2018-02-14 08:01:43 -08:00 committed by sftnight
parent e9c073dbd0
commit 75b9ee317f

View File

@ -339,7 +339,7 @@ macro(add_cling_library name)
endif()
if(TARGET ${name})
target_link_libraries(${name} ${INTERFACE} ${LLVM_COMMON_LIBS})
target_link_libraries(${name} INTERFACE ${LLVM_COMMON_LIBS})
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "libcling")
install(TARGETS ${name}