Commit 46082223 by Daniel M. Weeks Committed by Tianqi Chen

Use LIB_SUFFIX (#526)

parent 4865f958
...@@ -198,9 +198,9 @@ add_library(tvm SHARED ${COMPILER_SRCS} ${RUNTIME_SRCS}) ...@@ -198,9 +198,9 @@ add_library(tvm SHARED ${COMPILER_SRCS} ${RUNTIME_SRCS})
add_library(tvm_runtime SHARED ${RUNTIME_SRCS}) add_library(tvm_runtime SHARED ${RUNTIME_SRCS})
target_link_libraries(tvm ${TVM_LINKER_LIBS} ${TVM_RUNTIME_LINKER_LIBS}) target_link_libraries(tvm ${TVM_LINKER_LIBS} ${TVM_RUNTIME_LINKER_LIBS})
target_link_libraries(tvm_runtime ${TVM_RUNTIME_LINKER_LIBS}) target_link_libraries(tvm_runtime ${TVM_RUNTIME_LINKER_LIBS})
install(TARGETS tvm_runtime DESTINATION lib) install(TARGETS tvm_runtime DESTINATION lib${LIB_SUFFIX})
if (INSTALL_DEV) if (INSTALL_DEV)
install(TARGETS tvm DESTINATION lib) install(TARGETS tvm DESTINATION lib${LIB_SUFFIX})
install( install(
DIRECTORY "include/." DESTINATION "include" DIRECTORY "include/." DESTINATION "include"
FILES_MATCHING FILES_MATCHING
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment