grim/guifications3

Parents ec118cac5ff0
Children 81b6eb60b38d
use the CMAKE_ROOT variable that actually points to the root of cmake, go figure.
we use this to install gflib.cmake
--- a/gflib/cmake/Modules/CMakeLists.txt Tue Dec 14 23:31:17 2010 -0600
+++ b/gflib/cmake/Modules/CMakeLists.txt Tue Dec 14 23:36:19 2010 -0600
@@ -1,5 +1,2 @@
-install(
- FILES gflib.cmake
- DESTINATION share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules
-)
+install(FILES gflib.cmake DESTINATION ${CMAKE_ROOT}/Modules)