From 83a57fb47a30ace39eaa6224b249bd0d40d79077 Mon Sep 17 00:00:00 2001 From: Alex Bogart Date: Wed, 10 Jun 2015 14:54:00 -0700 Subject: [PATCH] Quick shared lib versioning fix for cmake. --- cmake/Targets.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/Targets.cmake b/cmake/Targets.cmake index e3ad872313b..6fc706426de 100644 --- a/cmake/Targets.cmake +++ b/cmake/Targets.cmake @@ -106,6 +106,8 @@ endfunction() # caffe_default_properties() function(caffe_default_properties target) set_target_properties(${target} PROPERTIES + OUTPUT_NAME caffe-nv + SOVERSION 0.11.0 DEBUG_POSTFIX ${Caffe_DEBUG_POSTFIX} ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib" LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib"