summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-04-10 12:36:35 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-04-10 12:36:35 +0000
commit20bb4e18c328ed82a0f3d61c2d4edc2002263792 (patch)
tree507302f6c95430fe4317a676250747b0c1f8b350 /CMakeScripts
parentadjust the file generation path fir sp-marshal to jive with the include vs ad... (diff)
downloadinkscape-20bb4e18c328ed82a0f3d61c2d4edc2002263792.tar.gz
inkscape-20bb4e18c328ed82a0f3d61c2d4edc2002263792.zip
cmake: include javainc dir. please check if this works on linux and solaris too
(bzr r5399)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/ConfigInkscapeDepends.cmake1
-rw-r--r--CMakeScripts/IncludeJava.cmake14
2 files changed, 15 insertions, 0 deletions
diff --git a/CMakeScripts/ConfigInkscapeDepends.cmake b/CMakeScripts/ConfigInkscapeDepends.cmake
index 0fc693154..88a95636d 100644
--- a/CMakeScripts/ConfigInkscapeDepends.cmake
+++ b/CMakeScripts/ConfigInkscapeDepends.cmake
@@ -50,6 +50,7 @@ ENDFOREACH(dep)
# Include non pkg-config dependencies:
INCLUDE(FindBoost)
INCLUDE(FindGC)
+INCLUDE(IncludeJava)
# end Dependencies
# Optional Dependencies Packages
diff --git a/CMakeScripts/IncludeJava.cmake b/CMakeScripts/IncludeJava.cmake
new file mode 100644
index 000000000..bd8bdb58e
--- /dev/null
+++ b/CMakeScripts/IncludeJava.cmake
@@ -0,0 +1,14 @@
+# - include the src/javainc dir in the include path and the correct config path too
+
+
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/src/bind/javainc )
+
+IF (WIN32)
+ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/src/bind/javainc/win32 )
+ENDIF (WIN32)
+IF (UNIX)
+ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/src/bind/javainc/linux )
+ENDIF (UNIX)
+IF (SOLARIS)
+ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/src/bind/javainc/solaris )
+ENDIF (SOLARIS)