Project

General

Profile

Actions

Bug #2112

closed

SET_PROPERTY(CACHE ... is not supported in cmake until cmake 2.8

Added by D R over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Target version:
Start date:
08/16/2013
Due date:
% Done:

0%

Estimated time:

Description

The latest git repository build uses "SET_PROPERTY(CACHE ... " command in top-level CMakeLists.txt. But the minimum version of cmake specified at the top of the file is 2.4. CACHE option is not supported until cmake 2.8. I am compiling in a "stock" build environment which cannot have its system tools upgraded. It has cmake 2.6. The current build fails "out of the box." As a work around, I am currently commenting out the "SET_PROPERTY(CACHE... " line. But this is a bug.

Actions #1

Updated by Wim Dumon over 10 years ago

  • Status changed from New to Resolved

I added some if/else with version check around it, that disables the set_property on cmake < 2.8. I hope that fixes it.

Wim.

Actions #2

Updated by Koen Deforche over 10 years ago

  • Status changed from Resolved to Closed
  • Target version set to 3.3.1
Actions

Also available in: Atom PDF