We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0048f22 commit 138ee75Copy full SHA for 138ee75
torch/lib/THPP/CMakeLists.txt
@@ -54,7 +54,7 @@ if(NOT ${CMAKE_VERSION} VERSION_LESS "3.1")
54
SET_PROPERTY(TARGET THPP PROPERTY CXX_STANDARD 11)
55
endif(NOT ${CMAKE_VERSION} VERSION_LESS "3.1")
56
57
-TARGET_LINK_LIBRARIES(THPP PRIVATE ${TH_LIBRARIES})
+TARGET_LINK_LIBRARIES(THPP LINK_PRIVATE ${TH_LIBRARIES})
58
59
INSTALL(TARGETS THPP
60
RUNTIME DESTINATION "${THPP_INSTALL_BIN_DIR}"
0 commit comments