Added CMake options to allow building of jni / gl utils and tests to be switched off.
Also changed CMAKE_SOURCE_DIR to CMAKE_CURRENT_LIST_DIR to make sure that CMake always finds the source files. CMake wont find the files if kazmath is included in a another project as a subproject if CMAKE_SOURCE_DIR is used (ie using add_subdirectory(kazmath) in the parent project).
Added CMake options to allow building of jni / gl utils and tests to be switched off.
Also changed CMAKE_SOURCE_DIR to CMAKE_CURRENT_LIST_DIR to make sure that CMake always finds the source files. CMake wont find the files if kazmath is included in a another project as a subproject if CMAKE_SOURCE_DIR is used (ie using add_subdirectory(kazmath) in the parent project).