BitShares Forum

Main => Technical Support => Topic started by: speedy on February 14, 2014, 12:00:24 am

Title: cmake 2.8.12 needed to build
Post by: speedy on February 14, 2014, 12:00:24 am
Dan just bumped the cmake version requirement to 2.8.12, which introduced the target_compile_options() command (used by BTS makefile). The latest Ubuntu only has 2.8.11 in the repo, so I guess Ill have to roll back to and old version for the time being. Why so bleeding edge?
Title: Re: cmake 2.8.12 needed to build
Post by: speedy on February 14, 2014, 12:28:18 am
Ok if anyone else has this problem, just put the options into

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} options...")

in the global CMakeLists.txt
Title: Re: cmake 2.8.12 needed to build
Post by: bytemaster on February 14, 2014, 01:20:41 am
Dan just bumped the cmake version requirement to 2.8.12, which introduced the target_compile_options() command (used by BTS makefile). The latest Ubuntu only has 2.8.11 in the repo, so I guess Ill have to roll back to and old version for the time being. Why so bleeding edge?

I was a tad annoyed by this change as well.... when you refer to Dan please specify N or or L.   

I would like to remove this dependency if possible and back it up to a more widely available option.
Title: Re: cmake 2.8.12 needed to build
Post by: HardFork on February 14, 2014, 01:34:38 am
I ended up building cmake from source today to get around that.
Title: Re: cmake 2.8.12 needed to build
Post by: bytemaster on February 14, 2014, 01:46:47 am
I ended up building cmake from source today to get around that.

Same :)