cmake-basis/BASIS

Allow alternative versions for VERSION argument of basis_find_package

schuhschuh opened this issue · 0 comments

Issue by schuhschuh
Friday Apr 01, 2016 at 13:35 GMT
Originally opened as cmake-basis/legacy#561


Instead of, for example, basis_find_package(VTK-7|6{vtkCommonCore}), which is used as the argument of the DEPENDS of the basis_project in the BasisProject.cmake file, allow the user to write basis_find_package(VTK 7|6 COMPONENTS vtkCommonCore) when calling the basis_find_package function directly. The 7|6 notation for alternative versions is currently not supported for the VERSION argument of basis_find_package.