CMakeLists.txt
changeset 8683 45a976bf9ca4
parent 8674 fff355ba2902
child 8686 d303da4568b7
--- 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")