Kazade / kazmath

A C math library targeted at games
Other
527 stars 94 forks source link

CMake: Optional build of Tests / JNI / GL Utils #32

Closed johang88 closed 9 years ago

johang88 commented 9 years ago

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).

Kazade commented 9 years ago

Thanks!!!