From 20bb4e18c328ed82a0f3d61c2d4edc2002263792 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 10 Apr 2008 12:36:35 +0000 Subject: cmake: include javainc dir. please check if this works on linux and solaris too (bzr r5399) --- CMakeScripts/IncludeJava.cmake | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 CMakeScripts/IncludeJava.cmake (limited to 'CMakeScripts/IncludeJava.cmake') 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) -- cgit v1.2.3