Skip to content

Commit

Permalink
Update warp-ctc install
Browse files Browse the repository at this point in the history
  • Loading branch information
gangliao committed Jan 4, 2017
1 parent 77b03e0 commit c9beca9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ IF (WITH_GPU)
TARGET_LINK_LIBRARIES(test_gpu warpctc ${CUDA_curand_LIBRARY})

INSTALL(TARGETS warpctc
RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin"
LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/lib"
ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
RUNTIME DESTINATION "bin"
LIBRARY DESTINATION "lib"
ARCHIVE DESTINATION "lib")

INSTALL(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_PREFIX}/include")
INSTALL(FILES include/ctc.h DESTINATION "include")

IF (Torch_FOUND)
MESSAGE(STATUS "Building Torch Bindings with GPU support")
Expand Down Expand Up @@ -121,11 +121,11 @@ ELSE()
SET_TARGET_PROPERTIES(test_cpu PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11")

INSTALL(TARGETS warpctc
RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin"
LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/lib"
ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
RUNTIME DESTINATION "bin"
LIBRARY DESTINATION "lib"
ARCHIVE DESTINATION "lib")

INSTALL(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_PREFIX}/include")
INSTALL(FILES include/ctc.h DESTINATION "include")

IF (Torch_FOUND)
MESSAGE(STATUS "Building Torch Bindings with no GPU support")
Expand Down

0 comments on commit c9beca9

Please sign in to comment.