Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #1011: After installation, running applications from the build/…
…staging directory no longer works
- Loading branch information
Thomas Heller
committed
Feb 13, 2014
1 parent
545f341
commit 4801d67
Showing
1 changed file
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4801d67
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this change.
HPX_PREFIX
is supposed to point to a single directory where the library is going to be installed. This is used to be compiled into the binary as a last resort fallback if the library is not able to find itself at runtime. Changing this to a list of directories will certainly break that functionality.Moreover,
HPX_PREFIX
is used in other places of theCMakeLists.txt
to refer to a particular directory, which will be broken as well.Furthermore, on Windows the default delimiter between directories used is usually a semicolon (
';'
), not a colon (':'
).How does this patch fix the original ticket anyways? Where is the list of directories examined in order to search for the installation?
4801d67
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interestingly HPX_PREFIX as a list works for me, it's just the delimiter that was wrong (its a semicolon on Linux, too).
4801d67
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4801d67
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, IIUC, now HPX_PREFIX contains the build and install directory?
And now the build directory will be searched first?
If that is the case, can we please make that functionality optional/add a way to disable it?