# HG changeset patch # User koda # Date 1355108340 -3600 # Node ID a1500ffdc3436b6c059860437760252587240967 # Parent a874d00df4a43f6b858d94f1b6df4a0a7f3df329 cmake set variable and typo diff -r a874d00df4a4 -r a1500ffdc343 cmake_modules/FindFFMPEG.cmake --- a/cmake_modules/FindFFMPEG.cmake Mon Dec 10 03:07:25 2012 +0100 +++ b/cmake_modules/FindFFMPEG.cmake Mon Dec 10 03:59:00 2012 +0100 @@ -16,6 +16,8 @@ # BSD license. # +set(FFMPEG_FOUND FALSE) + if (FFMPEG_LIBRARIES AND FFMPEG_INCLUDE_DIR) # in cache already set(FFMPEG_FOUND TRUE) @@ -23,8 +25,6 @@ # silence output option if (FFMPEG_FIND_QUIETLY) set(VERBOSITY "QUIET") - else () - set(VERBOSITY "") endif () # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls diff -r a874d00df4a4 -r a1500ffdc343 cmake_modules/FindFreepascal.cmake --- a/cmake_modules/FindFreepascal.cmake Mon Dec 10 03:07:25 2012 +0100 +++ b/cmake_modules/FindFreepascal.cmake Mon Dec 10 03:59:00 2012 +0100 @@ -13,7 +13,7 @@ string(REGEX MATCH "[0-9]+\\.[0-9]+" FPC_VERSION_LONG "${FPC_VERSION_FULL}") string(REGEX REPLACE "([0-9]+\\.[0-9]+)" "\\1" FPC_VERSION "${FPC_VERSION_LONG}") - message(STATUS "Found Freepascal: ${FPC_EXECUTABLE} (version ${FPC_VERSION}") + message(STATUS "Found Freepascal: ${FPC_EXECUTABLE} (version ${FPC_VERSION})") else() message(FATAL_ERROR "Could NOT find Freepascal") endif()