Simplify cmake by creating macro and add dependency to math library.
Merge remote-tracking branch 'orian/simply_cmake_add_deps'

Conflicts:
	src/CMakeLists.txt