From 63e37a6133d794e086e3a7a87b9482483c0c2ff6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 9 Mar 2011 21:19:15 +0000 Subject: [PATCH] - CMake, print message to run 'make install', this is new and should help avoid confusion: [#26425] SVN release can't find scripts/modules and doesn't start properly - remove extension from icon to match spec: http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.htm --- release/freedesktop/blender.desktop | 2 +- source/creator/CMakeLists.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/release/freedesktop/blender.desktop b/release/freedesktop/blender.desktop index ba503f2f62e..34b2b9bb0af 100644 --- a/release/freedesktop/blender.desktop +++ b/release/freedesktop/blender.desktop @@ -8,7 +8,7 @@ GenericName[ru]=Редактор 3D-моделей Comment=3D modeling, animation, rendering and post-production Comment[es]=modelado 3D, animación, renderizado y post-producción Exec=blender -Icon=blender.svg +Icon=blender Terminal=false Type=Application Categories=Graphics;3DGraphics; diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 7e00b554c6c..101da571ad6 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -208,6 +208,12 @@ if(WITH_INSTALL) "file(REMOVE_RECURSE ${TARGETDIR_VER})" ) + # message after building. + add_custom_command( + TARGET blender POST_BUILD MAIN_DEPENDENCY blender + COMMAND ${CMAKE_COMMAND} -E echo 'now run: \"make install\" to copy runtime files & scripts to ${TARGETDIR_VER}' + ) + # there are a few differences between portable and system install if(WITH_INSTALL_PORTABLE) install(