CMakeLists.txt
changeset 14147 89acfded7722
parent 13909 a44e4c057f57
child 14263 29d614a5c9eb
equal deleted inserted replaced
14146:4791c9a7d5e8 14147:89acfded7722
    65     set(GL2 ON CACHE STRING "Required for BUILD_ENGINE_JS" FORCE)
    65     set(GL2 ON CACHE STRING "Required for BUILD_ENGINE_JS" FORCE)
    66     set(BUILD_SHARED_LIBS OFF CACHE STRING "Required for BUILD_ENGINE_JS" FORCE)
    66     set(BUILD_SHARED_LIBS OFF CACHE STRING "Required for BUILD_ENGINE_JS" FORCE)
    67 
    67 
    68     set(target_binary_install_dir "bin" CACHE PATH "install dest for binaries")
    68     set(target_binary_install_dir "bin" CACHE PATH "install dest for binaries")
    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()
       
    71 
       
    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)
    70 endif()
    74 endif()
    71 
    75 
    72 #system paths for finding required fonts (see share/hedgewars/Data/fonts)
    76 #system paths for finding required fonts (see share/hedgewars/Data/fonts)
    73 #subdirectories will NOT be searched.
    77 #subdirectories will NOT be searched.
    74 #all fonts that can't be found will be bundled with hedgewars
    78 #all fonts that can't be found will be bundled with hedgewars