style(build): 统一 target 依赖声明写法
This commit is contained in:
@@ -5,7 +5,7 @@ add_library(frontend STATIC
|
||||
|
||||
target_link_libraries(frontend PUBLIC
|
||||
build_options
|
||||
"${ANTLR4_RUNTIME_TARGET}"
|
||||
${ANTLR4_RUNTIME_TARGET}
|
||||
)
|
||||
|
||||
# 自动纳入构建目录中的 ANTLR 生成源码(若存在)
|
||||
|
||||
@@ -8,6 +8,6 @@ add_library(irgen STATIC
|
||||
|
||||
target_link_libraries(irgen PUBLIC
|
||||
build_options
|
||||
"${ANTLR4_RUNTIME_TARGET}"
|
||||
${ANTLR4_RUNTIME_TARGET}
|
||||
ir
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user