equal
deleted
inserted
replaced
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() |
|
59 |
53 |
60 if(BUILD_ENGINE_JS) |
54 if(BUILD_ENGINE_JS) |
61 if(NOT CMAKE_TOOLCHAIN_FILE) |
55 if(NOT CMAKE_TOOLCHAIN_FILE) |
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") |
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") |
63 endif() |
57 endif() |