From 5436bcfc17df1a4f4062ecc7375608c4b97d7eb6 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 18 May 2010 12:53:14 +0000 Subject: [PATCH] * All tools: - Change: adopt a tree layout compliant with the UNIX FHS. * includes under TOP/include/coriolis2. * shared datas under TOP/shared/coriolis2. * docs under TOP/share/doc/coriolis2. * configuration under TOP/etc/coriolis2 * ./crlcore: - Change: In Environment, comply to the new tree layout, search configuration files under TOP/etc/coriolis2/. * ./knik: - Change: In flute, comply to the new tree layout, get the "POW*.dat" files from TOP/share/coriolis2/flute-2.4. --- solstice/CMakeLists.txt | 4 ++-- solstice/cmake_modules/CMakeLists.txt | 2 +- solstice/src/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/solstice/CMakeLists.txt b/solstice/CMakeLists.txt index 11d2522c..862eb6d7 100644 --- a/solstice/CMakeLists.txt +++ b/solstice/CMakeLists.txt @@ -10,13 +10,13 @@ ENDIF(COMMAND CMAKE_POLICY) MACRO(SETUP_PROJECT_PATHS project) IF( NOT("$ENV{${project}_TOP}" STREQUAL "") ) MESSAGE("-- ${project}_TOP is set to $ENV{${project}_TOP}") - SET(PROJECT_MODULE_PATH "$ENV{${project}_TOP}/share/cmake_modules/") + SET(PROJECT_MODULE_PATH "$ENV{${project}_TOP}/share/cmake/Modules/") LIST(INSERT CMAKE_MODULE_PATH 0 "${PROJECT_MODULE_PATH}") ENDIF( NOT("$ENV{${project}_TOP}" STREQUAL "") ) IF( NOT("$ENV{${project}_USER_TOP}" STREQUAL "") ) MESSAGE("-- ${project}_USER_TOP is set to $ENV{${project}_USER_TOP}") - SET(PROJECT_MODULE_PATH "$ENV{${project}_USER_TOP}/share/cmake_modules/") + SET(PROJECT_MODULE_PATH "$ENV{${project}_USER_TOP}/share/cmake/Modules/") LIST(INSERT CMAKE_MODULE_PATH 0 "${PROJECT_MODULE_PATH}") ENDIF( NOT("$ENV{${project}_USER_TOP}" STREQUAL "") ) diff --git a/solstice/cmake_modules/CMakeLists.txt b/solstice/cmake_modules/CMakeLists.txt index 2039727c..52981daf 100644 --- a/solstice/cmake_modules/CMakeLists.txt +++ b/solstice/cmake_modules/CMakeLists.txt @@ -1 +1 @@ -install ( FILES FindSOLSTICE.cmake DESTINATION share/cmake_modules ) +install ( FILES FindSOLSTICE.cmake DESTINATION share/cmake/Modules ) diff --git a/solstice/src/CMakeLists.txt b/solstice/src/CMakeLists.txt index 8581e135..f08b4f63 100644 --- a/solstice/src/CMakeLists.txt +++ b/solstice/src/CMakeLists.txt @@ -47,6 +47,6 @@ ) install ( TARGETS solstice DESTINATION lib${LIB_SUFFIX} ) install ( FILES ${includes} - ${mocIncludes} DESTINATION include/coriolis/solstice ) + ${mocIncludes} DESTINATION include/coriolis2/solstice )