Remove SET_CMAKE_MODULE_PATH
Bug #874676 reported by
Chris Hillery
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Opinion
|
Medium
|
Chris Hillery |
Bug Description
This macro wasn't in Zorba 2.0. Therefore, using it in modules means that those modules require Zorba 2.1 for building, even though they (as far as I know) don't need it for running.
There will probably be cases in the future where such dependencies are un-avoidable, but in this case SET_CMAKE_
Changed in zorba: | |
importance: | Undecided → Medium |
assignee: | nobody → Gabriel Petrovay (gabipetrovay) |
To post a comment you must log in.
Will this still be a problem after Zorba 2.1 is published? (Which should happen any time now)
This feature/convenience is optional. Module Authors are not required to use it at all if they want.
There is a better solution for this:
One can enhance the macro with two optional parameters that, if not defined, it will have the default values: SOURCE_ DIR}/cmake_ modules SOURCE_ DIR}/cmake_ modules/ Windows
${PROJECT_
${PROJECT_
With those two parameters the developer can provide whatever path he wants to his cmake modules.
Opinions?