if(DIRECTORY CMLIB_MODULE_DIR) set(CMLIB_SANITIZERS_DIR "${CMLIB_MODULE_DIR}/thirdparty/sanitizers/cmake") if(DIRECTORY CMLIB_SANITIZERS_DIR) list(APPEND CMAKE_MODULE_PATH ${CMLIB_SANITIZERS_DIR}) else() message(WARNING "Sanitizers submodule not found.") endif() else() message(FATAL_ERROR "CMLib directory not found.") endif()