Skip to content

Commit 560a61e

Browse files
committed
[Comgr] Use CLANG_LINK_CLANG_DYLIB instead of checking if the clangFrontendTool target exists
1 parent 09a4d41 commit 560a61e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amd/comgr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ install(FILES
406406
COMPONENT amd-comgr
407407
DESTINATION "${CMAKE_INSTALL_LIBDIR}/${AMD_COMGR_PACKAGE_PREFIX}")
408408

409-
if(TARGET clangFrontendTool)
409+
if(NOT CLANG_LINK_CLANG_DYLIB)
410410
set(CLANG_LIBS
411411
clangBasic
412412
clangDriver

0 commit comments

Comments
 (0)