Merge branch 'cmake_source_dir' into 'master'

Use CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR

See merge request !27
9 jobs for master in 3 minutes and 45 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #41026
VS2013
VS2013-32-bit

00:00:52

passed #41025
VS2013
VS2013-64-bit

00:00:57

passed #41024
VS2015
VS2015-32-bit

00:01:06

passed #41023
VS2015
VS2015-64-bit

00:01:09

passed #41020
Linux
clang-c++11

00:03:25

passed #41022
Linux
cppcheck

00:00:44

passed #41027
Linux
doc

00:00:17

passed #41019
Linux
gcc-c++11

00:03:45

passed #41021
Apple
macos-c++11

00:02:48