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

Change order of Depends.cmake and discovery of BasisProject.cmake DEPENDS #563

Closed schuhschuh closed 8 years ago

schuhschuh commented 8 years ago

The packages declared in the BasisProject.cmake file should be looked for first before including the Depends.cmake file as this is the standard way to declare dependencies. Additional dependencies that require a more complex conditional statement should go into Depends.cmake. These conditions may depend on the found optional dependencies declared in the BasisProject.cmake file. Hence, change the order of these operations in the basis_find_packages macro.

schuhschuh commented 8 years ago

Closed by e5cb9c10a150fd2673962fe8bdef7dea4ee1cd03.