Fix check for flag
authorunc0rr
Thu, 07 Mar 2013 11:23:01 +0400
changeset 8683 45a976bf9ca4
parent 8681 d0fc1dca739c
child 8684 fd1f2bf5ffad
child 8685 c0e54583296e
Fix check for flag
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")