Output message if bundled version of Termcolor is used.

This commit is contained in:
tastytea 2021-05-25 15:17:37 +02:00
parent 81f16bef7d
commit 55678a8d03
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ find_package(fmt 4 REQUIRED CONFIG)
find_package(termcolor CONFIG)
if(NOT termcolor_FOUND)
if(FALLBACK_BUNDLED)
message(VERBOSE "Using bundled version of Termcolor.")
add_subdirectory(dist/termcolor EXCLUDE_FROM_ALL)
else()
message(FATAL_ERROR "Termcolor was not found.")