CMakeLists.txt
changeset 14858 13589d529899
parent 14461 9844450389a4
child 14859 8d65728c4ed0
equal deleted inserted replaced
14857:38eadfc525ce 14858:13589d529899
    48     set(DATA_INSTALL_DIR "share/hedgewars" CACHE STRING "Resource folder path")
    48     set(DATA_INSTALL_DIR "share/hedgewars" CACHE STRING "Resource folder path")
    49 endif()
    49 endif()
    50 
    50 
    51 option(NOVERSIONINFOUPDATE "Disable update of version_info.txt. To be used if source is in a git/repo that is NOT the hedgewars repo" OFF)
    51 option(NOVERSIONINFOUPDATE "Disable update of version_info.txt. To be used if source is in a git/repo that is NOT the hedgewars repo" OFF)
    52 
    52 
       
    53 # FIXME: Pas2C Hedgewars cannot be built with video recording atm because the Pas2C parser has a problem parsing uVideoRec.pas.
       
    54 # See bug 722 <https://issues.hedgewars.org/show_bug.cgi?id=722>.
       
    55 # As a workaround, we simply force-disable video recording for now.
       
    56 if(BUILD_ENGINE_C)
       
    57     set(NOVIDEOREC ON CACHE STRING "Required for BUILD_ENGINE_C" FORCE)
       
    58 endif()
    53 
    59 
    54 if(BUILD_ENGINE_JS)
    60 if(BUILD_ENGINE_JS)
    55     if(NOT CMAKE_TOOLCHAIN_FILE)
    61     if(NOT CMAKE_TOOLCHAIN_FILE)
    56         message(FATAL_ERROR "Missing emscripten toolchain file\nClean your cache and rerun cmake with -DCMAKE_TOOLCHAIN_FILE=${CMAKE_SOURCE_DIR}/cmake_modules/Platform/Emscripten.cmake")
    62         message(FATAL_ERROR "Missing emscripten toolchain file\nClean your cache and rerun cmake with -DCMAKE_TOOLCHAIN_FILE=${CMAKE_SOURCE_DIR}/cmake_modules/Platform/Emscripten.cmake")
    57     endif()
    63     endif()