Set output directories in CMakeLists.txt.
Use include_directories instead of manually adding -I flag.