Skip to content

Commit fce81f1

Browse files
committed
cut: fix linkage for out-of-tree abc builds
Basically #7652 but for `cut` as well Signed-off-by: Mohamed Gaber <[email protected]>
1 parent 299433b commit fce81f1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/cut/src/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ target_sources(cut
2727
target_link_libraries(cut
2828
PUBLIC
2929
rsz_lib
30-
libabc
30+
${ABC_LIBRARY}
3131
PRIVATE
3232
odb
3333
dbSta
3434
OpenSTA
3535
dbSta_lib
3636
utl_lib
37-
${ABC_LIBRARY}
3837
)

src/cut/test/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ target_link_libraries(CutGTests
88
GTest::gmock
99
dbSta_lib
1010
utl_lib
11-
libabc
11+
${ABC_LIBRARY}
1212
cut
1313
tst
1414
${TCL_LIBRARY}

0 commit comments

Comments
 (0)