Skip to content

Commit a934ca5

Browse files
committed
[build] (CMake) customisable Caffe version/soversion
1 parent d242564 commit a934ca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ endif()
1010
project(Caffe C CXX)
1111

1212
# ---[ Caffe version
13-
set(CAFFE_TARGET_VERSION "1.0.0-rc3")
14-
set(CAFFE_TARGET_SOVERSION "1.0.0-rc3")
13+
set(CAFFE_TARGET_VERSION "1.0.0-rc3" CACHE STRING "Caffe logical version")
14+
set(CAFFE_TARGET_SOVERSION "1.0.0-rc3" CACHE STRING "Caffe soname version")
1515
add_definitions(-DCAFFE_VERSION=${CAFFE_TARGET_VERSION})
1616

1717
# ---[ Using cmake scripts and modules

0 commit comments

Comments
 (0)