Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/torch7.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2016-08-12 17:55:20 +0300
committerGitHub <noreply@github.com>2016-08-12 17:55:20 +0300
commit1dfc6e4583e1295c9cfad19bc570d6beec13430a (patch)
tree1ecf03bad97636ed1261078f6a128c8d671ff671
parentfd38e3036f4f85ee8cba0983f8097780a41bf7cf (diff)
parentc9b29c2ba226bc203ca46d5e1307df498f5e34d0 (diff)
Merge pull request #738 from CDLuminate/cmake-add-soversion-for-TH
cmake: add soversion for libTH
-rw-r--r--lib/TH/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/TH/CMakeLists.txt b/lib/TH/CMakeLists.txt
index 551ea50..420bbf3 100644
--- a/lib/TH/CMakeLists.txt
+++ b/lib/TH/CMakeLists.txt
@@ -137,6 +137,10 @@ if(BUILD_STATIC)
ADD_LIBRARY(TH_static STATIC ${src})
endif()
+SET_TARGET_PROPERTIES(TH PROPERTIES
+ VERSION 0
+ SOVERSION 0)
+
CHECK_C_SOURCE_RUNS("
#include <stdatomic.h>
int main()