Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the target name for "fermat" #2

Merged
merged 1 commit into from
May 12, 2017
Merged

Change the target name for "fermat" #2

merged 1 commit into from
May 12, 2017

Conversation

tueda
Copy link
Contributor

@tueda tueda commented May 12, 2017

The two target names fermat and Fermat have a problem with CMake on case-insensitive file systems, for example, HFS+ of Apple by default. This causes a build error as reported in tueda/homebrew-loops#2.

This patch change the target fermat to fermat_exe but the binary file is renamed to fermat on the installation.

Change the target "fermat" to "fermat_exe". The binary file is renamed
to "fermat" on the installation.

This avoids possible confusions of file names generated by CMake on
case-insensitive file systems, where, for example,
`CMakeFiles/fermat.dir/depend` and `CMakeFiles/Fermat.dir/depend`
conflict with each other.
@mprausa mprausa merged commit 01a274f into mprausa:master May 12, 2017
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