please consider attached build system patch (Feature #1374)
Description
Dear OpenCV developers, please consider integrating some or all of the attached patch. It does:
- convert the SET cmake commands to OPTIONS so the build can be controlled by cmake command line options
- add missing libdir suffixes in several places (e.g. lib > lib64)
Associated revisions
Merge pull request #1374 from zacstewart:2.4
History
Updated by Vadim Pisarevsky over 13 years ago
- Status deleted (
Open)
Updated by Vadim Pisarevsky over 13 years ago
Andrey, if I remember correctly, you gave me some reasons why using "option" in CMake is not always good. Could you put it here, so that we can reference the ticket in future.
Updated by Andrey Kamaev about 13 years ago
Actually Andrey Pavlenko had the problem with cmake "option". But we were not able to reproduce it after a while.
Anyway build options are already controllable from command line and this patch does not make any cmake improvement.
Closing because the most of the "set" commands changed in suggested patch are eventually converted to options in r7113.
- Status set to Done
- (deleted custom field) set to fixed
Updated by Andrey Kamaev about 13 years ago
- Target version set to 2.4.0