Closed schuhschuh closed 8 years ago
Perhaps it would also make sense to handle when the directories simply don't exist? Or is that already taken care of?
Perhaps it would also make sense to handle when the directories simply don't exist? Or is that already taken care of?
That's how it has been. Now instead it requires an existence of the CMakeLists.txt file within those directories, which implicitly checks for existence of the directory ;-).
Currently, these options are added when the
PROJECT_DOC_DIR
and/orPROJECT_EXAMPLE_DIR
exists even when these directories are empty or do not contain a requiredCMakeLists.txt
file. Considering that projects may have such directories which do not require any built, add the options only when aCMakeLists.txt
file is found.