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

Wrong default scheme chosen when project name is not equal package name #556

Closed schuhschuh closed 8 years ago

schuhschuh commented 8 years ago

The default scheme should be opt when the package name occurs in the installation prefix. Currently, this scheme is only chosen when the project name occurs in the installation prefix. For submodules, the package name is relevant instead, however.

schuhschuh commented 8 years ago

See this commit to the CMake BASIS Modules develop branch.