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!
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.
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 thebasis_project
in theBasisProject.cmake
file, allow the user to writebasis_find_package(VTK 7|6 COMPONENTS vtkCommonCore)
when calling thebasis_find_package
function directly. The7|6
notation for alternative versions is currently not supported for the VERSION argument ofbasis_find_package
.