fix cmake paths
using this project with add_subdirectory
will fail because CMAKE_SOURCE_DIR
and CMAKE_BINARY_DIR
will point to the wrong directory. possible alternatives are CMAKE_CURRENT_SOURCE_DIR
, CMAKE_CURRENT_BINARY_DIR
, PROJECT_SOURCE_DIR
and PROJECT_BINARY_DIR
.