Skip to content

CMakePackage: use cmake_root_listdir as last argument to cmake#16709

Merged
becker33 merged 1 commit intodevelopfrom
bugfix/cmake-dir-last
May 18, 2020
Merged

CMakePackage: use cmake_root_listdir as last argument to cmake#16709
becker33 merged 1 commit intodevelopfrom
bugfix/cmake-dir-last

Conversation

@becker33
Copy link
Copy Markdown
Member

@white238 reported a bug that a user of his has a package that fails when the cmake source dir is the first (rather than the last) argument as Spack has been doing it.

This matches up with CMake's documentation, to have options come before the source directory:
https://cmake.org/cmake/help/latest/manual/cmake.1.html

This PR brings us in line with CMake documentation.

@becker33 becker33 merged commit 84889ef into develop May 18, 2020
@adamjstewart adamjstewart deleted the bugfix/cmake-dir-last branch May 19, 2020 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants