cmake set variable and typo
authorkoda
Mon, 10 Dec 2012 03:59:00 +0100
changeset 8285 a1500ffdc343
parent 8284 a874d00df4a4
child 8286 2e7eedac380d
cmake set variable and typo
cmake_modules/FindFFMPEG.cmake
cmake_modules/FindFreepascal.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
--- 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()