summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2014-11-25 22:02:51 +0000
committerJosh Andler <scislac@gmail.com>2014-11-25 22:02:51 +0000
commit12cbd62d446d3f243c2b1623030df58f7319c594 (patch)
tree3b127dda2123052a66692f8dcc2f5922faf80e62 /src/CMakeLists.txt
parentMore c++ string usage. (diff)
downloadinkscape-12cbd62d446d3f243c2b1623030df58f7319c594.tar.gz
inkscape-12cbd62d446d3f243c2b1623030df58f7319c594.zip
Patch from comment 4. Fixes build with cmake and poppler-0.26.4.
Fixed bugs: - https://launchpad.net/bugs/1378843 (bzr r13764)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
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