Author Topic: [fixed] r3339: MG fails to configure with cmake 2.8.8 (policy changes)  (Read 849 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Jammy (forum username Jammyjamjamman) was trying to build MG on Fedora Core 16 today and ran into a cmake issue. He also had trouble getting his forum account validated so I'm reporting this for him.

He pasted his build-mg.sh output to paste.megaglest.org. The issue is triggered by non-compliance with a cmake policy which appears to be mandatory in the cmake version Jammy is using.

Code: [Select]
<tomreyn> Jam__: what's the output of: cmake --version
<Jam__> the latest
<Jam__> 2.8.8

Compiling statically, so with the -DWANT_STATIC_LIBS=ON build option is a workaround which works for him.
« Last Edit: 22 June 2012, 02:31:19 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: r3339: MG fails to configure with cmake 2.8.8 (policy changes)
« Reply #1 on: 22 June 2012, 02:12:13 »
Should be fixed in svn 3405

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
Thanks. The updated original build script  works perfectly with fedora 17 using cmake 2.8.8.  :)
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

 

anything