made define_module independent of project source directory
fixed path for cuda library lookup
Merge branch 'master' of github.com:funkey/cmake