|
From: Lasse Kärkkäi. <tr...@us...> - 2010-08-15 02:12:40
|
Module: performous Branch: master Commit: b8429c74af2d412c10f2bd03074351a0fcfbaa1e Author: Lasse Karkkainen <tro...@tr...> Date: Sun Aug 15 04:57:36 2010 +0300 Fix FFMPEG CMake scripts' error messages. --- cmake/Modules/FindAVCodec.cmake | 2 +- cmake/Modules/FindAVFormat.cmake | 2 +- cmake/Modules/FindAVUtil.cmake | 2 +- cmake/Modules/FindSWScale.cmake | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/Modules/FindAVCodec.cmake b/cmake/Modules/FindAVCodec.cmake index 400ac58..d1e23aa 100644 --- a/cmake/Modules/FindAVCodec.cmake +++ b/cmake/Modules/FindAVCodec.cmake @@ -33,7 +33,7 @@ if(AVCodec_INCLUDE_DIR) endforeach(suffix) if(NOT AVCodec_INCLUDE) - message(FATAL_ERROR "Found avcodec.h include dir, but not the header file. This is an internal error in FindAVCodec.cmake") + message(FATAL_ERROR "Found avcodec.h include dir, but not the header file. Perhaps you need to clear CMake cache?") endif(NOT AVCodec_INCLUDE) endif(AVCodec_INCLUDE_DIR) diff --git a/cmake/Modules/FindAVFormat.cmake b/cmake/Modules/FindAVFormat.cmake index b02d2a6..cc0561a 100644 --- a/cmake/Modules/FindAVFormat.cmake +++ b/cmake/Modules/FindAVFormat.cmake @@ -31,7 +31,7 @@ if(AVFormat_INCLUDE_DIR) endforeach(suffix) if(NOT AVFormat_INCLUDE) - message(FATAL_ERROR "Found avformat.h include dir, but not the header file. This is an internal error in FindAVFormat.cmake") + message(FATAL_ERROR "Found avformat.h include dir, but not the header file. Perhaps you need to clear CMake cache?") endif(NOT AVFormat_INCLUDE) endif(AVFormat_INCLUDE_DIR) diff --git a/cmake/Modules/FindAVUtil.cmake b/cmake/Modules/FindAVUtil.cmake index 99bfbfb..fbf2bd4 100644 --- a/cmake/Modules/FindAVUtil.cmake +++ b/cmake/Modules/FindAVUtil.cmake @@ -29,7 +29,7 @@ if(AVUtil_INCLUDE_DIR) endforeach(suffix) if(NOT AVUtil_INCLUDE) - message(FATAL_ERROR "Found avutil.h include dir, but not the header file. This is an internal error in FindAVUtil.cmake") + message(FATAL_ERROR "Found avutil.h include dir, but not the header file. Perhaps you need to clear CMake cache?") endif(NOT AVUtil_INCLUDE) endif(AVUtil_INCLUDE_DIR) diff --git a/cmake/Modules/FindSWScale.cmake b/cmake/Modules/FindSWScale.cmake index e675a51..f76cc3d 100644 --- a/cmake/Modules/FindSWScale.cmake +++ b/cmake/Modules/FindSWScale.cmake @@ -31,7 +31,7 @@ if(SWScale_INCLUDE_DIR) endforeach(suffix) if(NOT SWScale_INCLUDE) - message(FATAL_ERROR "Found swscale.h include dir, but not the header file. This is an internal error in FindSWScale.cmake") + message(FATAL_ERROR "Found swscale.h include dir, but not the header file. Maybe you need to clear CMake cache?") endif(NOT SWScale_INCLUDE) endif(SWScale_INCLUDE_DIR) |