diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2011-06-13 21:59:45 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-13 21:59:45 +0000 |
| commit | 4f20cb327f420917d761b0fa41e50cb9d4eb1a19 (patch) | |
| tree | d880131c8f8b42ac122205857f6fb67949b654f4 /CMakeScripts/DefineDependsandFlags.cmake | |
| parent | cmake: fix for install target (diff) | |
| download | inkscape-4f20cb327f420917d761b0fa41e50cb9d4eb1a19.tar.gz inkscape-4f20cb327f420917d761b0fa41e50cb9d4eb1a19.zip | |
cmake:
- added option WITH_DBUS (currently uses hard coded paths)
- remove duplicate version variable.
(bzr r10297)
Diffstat (limited to '')
| -rw-r--r-- | CMakeScripts/DefineDependsandFlags.cmake | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake index 6cfb38257..6c0abf362 100644 --- a/CMakeScripts/DefineDependsandFlags.cmake +++ b/CMakeScripts/DefineDependsandFlags.cmake @@ -133,9 +133,16 @@ list(APPEND INKSCAPE_LIBS ${ImageMagick_Magick++_LIBRARY}) include(IncludeJava) # end Dependencies -# message(FATAL_ERROR "Whee: ${INKSCAPE_INCS}") -# message(FATAL_ERROR "Whee: ${INKSCAPE_LIBS}") -# message(FATAL_ERROR "Whee: ${INKSCAPE_LINK_DIRS}") +# ---------------------------------------------------------------------------- +# Optional +# ---------------------------------------------------------------------------- + +if(WITH_DBUS) + # XXX, needs s module + list(APPEND INKSCAPE_INCS "/usr/include/dbus-1.0") + list(APPEND INKSCAPE_INCS "/usr/lib/dbus-1.0/include") + list(APPEND INKSCAPE_LIBS "/usr/lib/libdbus-1.so") +endif() # C/C++ Flags include_directories(${INKSCAPE_INCS}) |
