R4stl1n/cAudio — pull request #30 by Lavesson (2014-12-25 14:01:22+00:00)
Title: Use CMAKE_CURRENT_SOURCE_DIR for modules

I'm using cAudio as a submodule and adds it as part of the overall build using add_subdirectory(path_to_caudio). This causes cAudio to look for modules in the wrong place

This commit makes it possible to add cAudio from another CMakeLists.txt by using ${CMAKE_CURRENT_SOURCE_DIR} instead when configuring the module path.