Skip to content

Commit

Permalink
Merge pull request microsoft#46 from lukeyeager/nvidia/cmake-too-much…
Browse files Browse the repository at this point in the history
…-versioning

Remove versioned symlinks from tools
  • Loading branch information
lukeyeager committed Oct 22, 2015
2 parents 8468d18 + 4617bd6 commit aaf7ff0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions cmake/Targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ function(caffe_default_properties target)
ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin"
VERSION ${CAFFE_TARGET_VERSION}
SOVERSION ${CAFFE_TARGET_SOVERSION}
)

# make sure we build all external depepdencies first
Expand Down
6 changes: 5 additions & 1 deletion src/caffe/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ endif()
add_library(caffe ${srcs})
target_link_libraries(caffe proto ${Caffe_LINKER_LIBS})
caffe_default_properties(caffe)
set_target_properties(caffe PROPERTIES OUTPUT_NAME "caffe-nv")
set_target_properties(caffe PROPERTIES
OUTPUT_NAME "caffe-nv"
VERSION ${CAFFE_TARGET_VERSION}
SOVERSION ${CAFFE_TARGET_SOVERSION}
)

# ---[ Tests
add_subdirectory(test)
Expand Down

0 comments on commit aaf7ff0

Please sign in to comment.