CMakeLists.txt
changeset 8683 45a976bf9ca4
parent 8674 fff355ba2902
child 8686 d303da4568b7
equal deleted inserted replaced
8681:d0fc1dca739c 8683:45a976bf9ca4
   328     #we also have to pass PHYSFS_INTERNAL to satisfy windows runtime requirements
   328     #we also have to pass PHYSFS_INTERNAL to satisfy windows runtime requirements
   329     #(should be harmless on other platforms)
   329     #(should be harmless on other platforms)
   330     list(APPEND pascal_flags "-XLAphysfs=${physfs_output_name}" "-dPHYSFS_INTERNAL")
   330     list(APPEND pascal_flags "-XLAphysfs=${physfs_output_name}" "-dPHYSFS_INTERNAL")
   331 endif()
   331 endif()
   332 
   332 
   333 if(NOT ${NOVIDEOREC})
   333 if(NOT NOVIDEOREC)
   334     find_package(FFMPEG)
   334     find_package(FFMPEG)
   335     if(NOT ${FFMPEG_FOUND})
   335     if(NOT ${FFMPEG_FOUND})
   336         message(FATAL_ERROR "Missing FFMPEG/Libav! Rerun cmake with -DNOVIDEOREC=on to disable video recording")
   336         message(FATAL_ERROR "Missing FFMPEG/Libav! Rerun cmake with -DNOVIDEOREC=on to disable video recording")
   337     endif()
   337     endif()
   338 else()
   338 else()