Ticket #1316: premake4.lua.patch

File premake4.lua.patch, 1.5 KB (added by noKid, 12 years ago)

Removed FAM requirements

  • premake4.lua

     
    55newoption { trigger = "gles", description = "Use non-working OpenGL ES 2.0 mode" }
    66newoption { trigger = "icc", description = "Use Intel C++ Compiler (Linux only; should use either \"--cc icc\" or --without-pch too, and then set CXX=icpc before calling make)" }
    77newoption { trigger = "outpath", description = "Location for generated project files" }
    8 newoption { trigger = "without-fam", description = "Disable use of FAM API on Linux" }
    98newoption { trigger = "without-audio", description = "Disable use of OpenAL/Ogg/Vorbis APIs" }
    109newoption { trigger = "without-nvtt", description = "Disable use of NVTT" }
    1110newoption { trigger = "without-tests", description = "Disable generation of test projects" }
     
    153152        defines { "CONFIG2_GLES=1" }
    154153    end
    155154
    156     if _OPTIONS["without-fam"] then
    157         defines { "CONFIG2_FAM=0" }
    158     end
    159 
    160155    if _OPTIONS["without-audio"] then
    161156        defines { "CONFIG2_AUDIO=0" }
    162157    end
     
    761756
    762757    elseif os.is("linux") or os.is("bsd") then
    763758
    764         if not _OPTIONS["without-fam"] then
    765             links { "fam" }
    766         end
    767 
    768759        if not _OPTIONS["android"] then
    769760            links { "rt" }
    770761        end
     
    11761167
    11771168    elseif os.is("linux") or os.is("bsd") then
    11781169
    1179         if not _OPTIONS["without-fam"] then
    1180             links { "fam" }
    1181         end
    1182 
    11831170        if not _OPTIONS["android"] then
    11841171            links { "rt" }
    11851172        end