summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/IncludeJava.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeScripts/IncludeJava.cmake')
-rw-r--r--CMakeScripts/IncludeJava.cmake14
1 files changed, 14 insertions, 0 deletions
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)