Use paths for verification instead of bool variables in CMake.