--- CMakeLists.txt.install 2010-02-03 17:31:32.000000000 +0100 +++ CMakeLists.txt 2010-02-03 17:32:16.000000000 +0100 @@ -76,7 +76,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/generatorrunner.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/FindGeneratorRunner.cmake - DESTINATION "share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules") + DESTINATION "${CMAKE_ROOT}/Modules") #FIXME: manpages should be installed only on Linux targets file(GLOB manpages ${CMAKE_CURRENT_SOURCE_DIR}/*.1)