# HG changeset patch # User nemo # Date 1542822115 18000 # Node ID 29d614a5c9ebbe6fdc5ef9310a438aad9384c368 # Parent 72e9d69a5e4dbe10d435f886be2d803e3b8aae14 force-disable video recording if C build is enabled. diff -r 72e9d69a5e4d -r 29d614a5c9eb CMakeLists.txt --- a/CMakeLists.txt Wed Nov 21 11:59:20 2018 -0500 +++ b/CMakeLists.txt Wed Nov 21 12:41:55 2018 -0500 @@ -72,6 +72,9 @@ if("${CMAKE_SIZEOF_VOID_P}" EQUAL "4" AND UNIX AND NOT APPLE) set(BUILD_ENGINE_C ON CACHE STRING "PAS2C force-enabled due to a freepascal 32 bit alignment bug" FORCE) endif() +if(BUILD_ENGINE_C) + set(NOVIDEOREC ON CACHE STRING "PAS2C does not support video recording at present" FORCE) +endif() #system paths for finding required fonts (see share/hedgewars/Data/fonts) #subdirectories will NOT be searched.