CMakeLists.txt
changeset 14263 29d614a5c9eb
parent 14147 89acfded7722
child 14356 c2712b142e9d
equal deleted inserted replaced
14262:72e9d69a5e4d 14263:29d614a5c9eb
    69     set(target_library_install_dir "lib" CACHE PATH "install dest for libs")
    69     set(target_library_install_dir "lib" CACHE PATH "install dest for libs")
    70 endif()
    70 endif()
    71 
    71 
    72 if("${CMAKE_SIZEOF_VOID_P}" EQUAL "4" AND UNIX AND NOT APPLE)
    72 if("${CMAKE_SIZEOF_VOID_P}" EQUAL "4" AND UNIX AND NOT APPLE)
    73     set(BUILD_ENGINE_C ON CACHE STRING "PAS2C force-enabled due to a freepascal 32 bit alignment bug" FORCE)
    73     set(BUILD_ENGINE_C ON CACHE STRING "PAS2C force-enabled due to a freepascal 32 bit alignment bug" FORCE)
       
    74 endif()
       
    75 if(BUILD_ENGINE_C)
       
    76     set(NOVIDEOREC ON CACHE STRING "PAS2C does not support video recording at present" FORCE)
    74 endif()
    77 endif()
    75 
    78 
    76 #system paths for finding required fonts (see share/hedgewars/Data/fonts)
    79 #system paths for finding required fonts (see share/hedgewars/Data/fonts)
    77 #subdirectories will NOT be searched.
    80 #subdirectories will NOT be searched.
    78 #all fonts that can't be found will be bundled with hedgewars
    81 #all fonts that can't be found will be bundled with hedgewars