cmake-basis / legacy

Legacy CMake BASIS project for versions 3.2 and older. For newer versions, go to
https://github.com/cmake-basis/BASIS
Other
13 stars 11 forks source link

Allow alternative versions for VERSION argument of basis_find_package #561

Closed schuhschuh closed 8 years ago

schuhschuh commented 8 years ago

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.

schuhschuh commented 8 years ago

Closed by 541345216cd519e6aa3506b8b5b3febb84279838.