Skip to content

Commit b9da01c

Browse files
authored
Merge pull request #9258 from The-OpenROAD-Project-staging/swig-deprecated-fix
Switch swig_link_libraries to target_link_libraries
2 parents 4ccb959 + e5a87c0 commit b9da01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmake/swig_lib.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function(swig_lib)
109109
set_property(TARGET ${ARG_NAME} PROPERTY SWIG_COMPILE_OPTIONS -flatstaticmethod)
110110
endif()
111111

112-
swig_link_libraries(${ARG_NAME}
112+
target_link_libraries(${ARG_NAME}
113113
PUBLIC
114114
Python3::Python
115115
)

0 commit comments

Comments
 (0)