Skip to content

Commit

Permalink
Merge pull request #4121 from rayglover-ibm/cmake
Browse files Browse the repository at this point in the history
[build] CMake customisable version/soversion
  • Loading branch information
shelhamer committed May 10, 2016
2 parents d242564 + a934ca5 commit 9d239eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ endif()
project(Caffe C CXX)

# ---[ Caffe version
set(CAFFE_TARGET_VERSION "1.0.0-rc3")
set(CAFFE_TARGET_SOVERSION "1.0.0-rc3")
set(CAFFE_TARGET_VERSION "1.0.0-rc3" CACHE STRING "Caffe logical version")
set(CAFFE_TARGET_SOVERSION "1.0.0-rc3" CACHE STRING "Caffe soname version")
add_definitions(-DCAFFE_VERSION=${CAFFE_TARGET_VERSION})

# ---[ Using cmake scripts and modules
Expand Down

0 comments on commit 9d239eb

Please sign in to comment.