diff --git a/CMakeLists.txt b/CMakeLists.txt index ae91a8210..439ea7d5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -236,15 +236,11 @@ if(FIREBASE_CPP_USE_PRIOR_GRADLE_BUILD) # In case there are multiple matches, take the one with the newest timestamp. set(newest_timestamp 0) foreach(possible_prev_build_dir IN LISTS possible_prev_build_dirs) - message("CONSIDERING ${possible_prev_build_dir}") if(IS_DIRECTORY ${possible_prev_build_dir}) if(EXISTS "${possible_prev_build_dir}/${header_to_scan_for}") # Check if it's newer than any other files. - message("FOUND ${possible_prev_build_dir}/${header_to_scan_for}") file(TIMESTAMP "${possible_prev_build_dir}/${header_to_scan_for}" timestamp "%s") - message("GOT TIMESTAMP: ${timestamp}") if(${timestamp} GREATER ${newest_timestamp}) - message("USING ${possible_prev_build_dir}") set(APP_BINARY_DIR ${possible_prev_build_dir}) set(newest_timestamp ${timestamp}) endif() @@ -252,7 +248,7 @@ if(FIREBASE_CPP_USE_PRIOR_GRADLE_BUILD) endif() endforeach() if (IS_DIRECTORY "${APP_BINARY_DIR}") - message("Found previous Firebase App build in ${APP_BINARY_DIR}") + message(STATUS "Found previous Firebase App build in ${APP_BINARY_DIR}") else() message(FATAL_ERROR "Could not find previous Firebase App build under ${prev_build_path}") endif()