Actions
Bug #2112
closedSET_PROPERTY(CACHE ... is not supported in cmake until cmake 2.8
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.
Updated by Wim Dumon over 11 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.
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed
- Target version set to 3.3.1
Actions