[CMAKE]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 1 Nov 2010 15:15:02 +0000 (15:15 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 1 Nov 2010 15:15:02 +0000 (15:15 +0000)
commitf2fd27635841ca8393efe56b86e30d40be0ed1af
tree79188efd5fd050d0f31b2cde1e77750d9f641469
parent85f6dd0d6057c68a94bb0f5c3e9df80b08cdfd97
[CMAKE]
When PreLoad.cmake is run, the CMAKE_CURRENT_SOURCE_DIR points to the directory, where the cmake command was executed (bug?). To get the root folder of reactos, use CMAKE_CURRENT_LIST_FILE, which points to PreLoad.cmake in the root folder.

svn path=/branches/cmake-bringup/; revision=49405
PreLoad.cmake