Set CMake module search path at a better time
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 18 Dec 2012 23:20:04 +0000 (00:20 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 4 Jan 2013 12:26:04 +0000 (13:26 +0100)
commit7af9679b980236ef8fec790ba67ff3fdd9ee9ff9
tree677903d8533c01781fa91bb900e3ea1a689c1a15
parent15a51da3194467b147b0a106fd4b34376c302054
Set CMake module search path at a better time

This needs to be set before project() in order that
toolchain files for cross compilling can use the same
search path. Otherwise, the users has to specify
fully-qualified toolchain files.

Refs #1064

Change-Id: I1f1fb4803c9f0dd2b95d236da1c1858c5ea382f9
CMakeLists.txt