# HG changeset patch # User unc0rr # Date 1362640981 -14400 # Node ID 45a976bf9ca4ab9dfbdab77711697219c82787c5 # Parent d0fc1dca739c77c8469940d6f82e033bf6edcd23 Fix check for flag diff -r d0fc1dca739c -r 45a976bf9ca4 CMakeLists.txt --- a/CMakeLists.txt Wed Mar 06 19:50:25 2013 -0500 +++ b/CMakeLists.txt Thu Mar 07 11:23:01 2013 +0400 @@ -330,7 +330,7 @@ list(APPEND pascal_flags "-XLAphysfs=${physfs_output_name}" "-dPHYSFS_INTERNAL") endif() -if(NOT ${NOVIDEOREC}) +if(NOT NOVIDEOREC) find_package(FFMPEG) if(NOT ${FFMPEG_FOUND}) message(FATAL_ERROR "Missing FFMPEG/Libav! Rerun cmake with -DNOVIDEOREC=on to disable video recording")