cmake-basis / BASIS

CMake BASIS makes it easy to create sharable software and libraries that work together. This is accomplished by combining and documenting some of the best practices and utilities available. This project supplies a fully integrated suite of functionality to make the whole process seamless!
https://cmake-basis.github.io
Other
48 stars 10 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

Issue by schuhschuh Friday Apr 01, 2016 at 13:35 GMT Originally opened as https://github.com/cmake-basis/legacy/issues/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.