From 12cbd62d446d3f243c2b1623030df58f7319c594 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Tue, 25 Nov 2014 14:02:51 -0800 Subject: Patch from comment 4. Fixes build with cmake and poppler-0.26.4. Fixed bugs: - https://launchpad.net/bugs/1378843 (bzr r13764) --- src/CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a1f5fc3dd..3d863a7fa 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -518,10 +518,19 @@ set(inkscape_SRC # make executable for INKSCAPE add_executable(inkscape ${main_SRC} ${inkscape_SRC} ${sp_SRC}) +if(UNIX) +# message after building. +add_custom_command( + TARGET inkscape + POST_BUILD MAIN_DEPENDENCY inkscape + COMMAND ${CMAKE_COMMAND} -E echo 'now run: \"make install\" to copy runtime files & scripts to ${CMAKE_INSTALL_PREFIX}' +) +endif() + add_dependencies(inkscape inkscape_version) target_link_libraries(inkscape - # order from automake + # order from automake #sp_LIB nrtype_LIB -- cgit v1.2.3