Skip to content

Commit 83d079d

Browse files
committed
Do not use install interface in link_libraries
1 parent c83aab1 commit 83d079d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_cc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ target_include_directories(
5252
)
5353
target_link_libraries(
5454
tensorflow_cc INTERFACE
55-
$<INSTALL_INTERFACE:lib/libtensorflow_cc.so.${PROJECT_VERSION_MAJOR}>
55+
"${CMAKE_INSTALL_PREFIX}/lib/libtensorflow_cc.so.${PROJECT_VERSION_MAJOR}"
5656
dl pthread
5757
)
5858

0 commit comments

Comments
 (0)