Fix parallel build for GMX_BUILD_OWN_FFTW
commita8832abe431c3cce36ae8619ecf9dae648bfaba3
authorChristoph Junghans <junghans@votca.org>
Wed, 31 Jul 2013 19:46:58 +0000 (31 13:46 -0600)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 3 Oct 2013 12:14:23 +0000 (3 14:14 +0200)
tree784b2372bf571c8042aae6bfed016fb502818693
parent6730ca882788b9f10758ae0bc1cc0328879bc462
Fix parallel build for GMX_BUILD_OWN_FFTW

* only works for cmake >=2.8.8
* cmake 2.8.7 has a bug in add_library, but
  cmake 2.8.[0123] have other problem, cmake-2.8.[456]
  still don't build in parallel
* fix from https://gerrit.gromacs.org/#/c/1675/12
* hardcode libdir to fix build on OpenSuse

Change-Id: I74315880f71fd4384084819ccc686072f7cad4f5
src/contrib/fftw/CMakeLists.txt
src/mdlib/CMakeLists.txt