summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2014-10-06 08:14:37 -0700
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-10-06 08:14:37 -0700
commit59a06fc2e20254d44ac980e17036fd104a8e2f57 (patch)
treec714bd7bbc9ffe4eeaa043a13603de6da08c9a0f
parent5b908f3b08ed5060f05a726bb92b54cc42960ada (diff)
parent6893ea722505c889fd40c9f692d7a87eb750c752 (diff)
downloadcaffeonacl-59a06fc2e20254d44ac980e17036fd104a8e2f57.tar.gz
caffeonacl-59a06fc2e20254d44ac980e17036fd104a8e2f57.tar.bz2
caffeonacl-59a06fc2e20254d44ac980e17036fd104a8e2f57.zip
Merge pull request #1223 from baeuml/fix_pthread_link_cmake
[fix] set pthread last in linking order for gflags for CMake
-rw-r--r--src/caffe/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caffe/CMakeLists.txt b/src/caffe/CMakeLists.txt
index 86c7c7eb..0ff04122 100644
--- a/src/caffe/CMakeLists.txt
+++ b/src/caffe/CMakeLists.txt
@@ -111,13 +111,13 @@ endif()
target_link_libraries(caffe proto
${BLAS_LIBRARIES}
${Boost_LIBRARIES}
- ${CMAKE_THREAD_LIBS_INIT}
${GFLAGS_LIBRARIES}
${GLOG_LIBRARIES}
${HDF5_LIBRARIES}
${LEVELDB_LIBS}
${LMDB_LIBRARIES}
${OpenCV_LIBS}
+ ${CMAKE_THREAD_LIBS_INIT}
)
#set output directory