change linking order such that pthread comes in the back
authorMartin Baeuml <baeuml@kit.edu>
Mon, 6 Oct 2014 11:48:29 +0000 (13:48 +0200)
committerMartin Baeuml <baeuml@kit.edu>
Mon, 6 Oct 2014 11:48:29 +0000 (13:48 +0200)
commit6893ea722505c889fd40c9f692d7a87eb750c752
treee20fc2f467593630dbd462ba5838ba3370462354
parent8ffb7b5adce42778b7fdbae8ee3fa4fd224b11a0
change linking order such that pthread comes in the back

This resolves an error with the static gflags library which would
other wise not link properly with an undefined reference to symbol 'pthread_rwlock_wrlock@@GLIBC_2.2.5'
error under Ubuntu 14.04.
src/caffe/CMakeLists.txt