diff --git a/CMakeLists.txt b/CMakeLists.txt index 972b4443..13703f30 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,7 +170,7 @@ option( ENABLE_CAPNP "Enable Cap’n Proto serialisation" OFF ) option( NO_WRAPPERS "Don't build any UDA client wrappers" OFF ) option( NO_CXX_WRAPPER "Don't build C++ wrapper" OFF ) option( NO_PYTHON_WRAPPER "Don't build Python wrapper" OFF ) -option( NO_JAVA_WRAPPER "Don't build Java wrapper" OFF ) +option( NO_JAVA_WRAPPER "Don't build Java wrapper" ON ) option( NO_IDL_WRAPPER "Don't build IDL wrapper" OFF ) option( FAT_IDL "Build IDL wrapper using fat-client" OFF ) diff --git a/source/wrappers/CMakeLists.txt b/source/wrappers/CMakeLists.txt index bd5f36db..f9e11db7 100755 --- a/source/wrappers/CMakeLists.txt +++ b/source/wrappers/CMakeLists.txt @@ -34,15 +34,15 @@ else() message( WARNING "IDL wrapper not being built due to CMake option NO_IDL_WRAPPER" ) endif() -if( NOT NO_JAVA_WRAPPER ) - if( JAVA_FOUND AND JNI_FOUND ) - add_subdirectory( java ) - else() - message( WARNING "JAVA or JNI not found - not building Java wrapper" ) - endif() -else() - message( WARNING "Java wrapper not being built due to CMake option NO_JAVA_WRAPPER" ) -endif() +# if( NOT NO_JAVA_WRAPPER ) +# if( JAVA_FOUND AND JNI_FOUND ) +# add_subdirectory( java ) +# else() +# message( WARNING "JAVA or JNI not found - not building Java wrapper" ) +# endif() +# else() +# message( WARNING "Java wrapper not being built due to CMake option NO_JAVA_WRAPPER" ) +# endif() #add_subdirectory( matlab ) #add_subdirectory( PHP )