Skip to content

Commit 575920a

Browse files
Fix installation of torchtrtc
Signed-off-by: Gabriel Cuendet <[email protected]> Signed-off-by: Gabriel Cuendet <[email protected]>
1 parent 0962f4a commit 575920a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/bin/torchtrtc/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ target_include_directories(${executable_name}
2222
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
2323
)
2424

25-
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${executable_name} DESTINATION "${CMAKE_INSTALL_BINDIR}")
25+
install(TARGETS ${executable_name} RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")

0 commit comments

Comments
 (0)