diff options
author | John Szakmeister <john@szakmeister.net> | 2014-11-08 16:16:39 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2014-11-08 16:21:47 -0500 |
commit | 203a5166a06cccc8b9bf0b190b9278634381b3be (patch) | |
tree | 95c62b92341b77a77651f3c2d704dd40126d84f3 /test/functional/shell/viml_system_spec.lua | |
parent | 05f78d30ac5eb4c4df712d78d1366f3cee896417 (diff) | |
download | rneovim-203a5166a06cccc8b9bf0b190b9278634381b3be.tar.gz rneovim-203a5166a06cccc8b9bf0b190b9278634381b3be.tar.bz2 rneovim-203a5166a06cccc8b9bf0b190b9278634381b3be.zip |
build: give priority to /sw and /opt/local on Mac OS X
Unfortunately, we can't force the specific inclusion of a header file.
So if anything add /opt/local/include to the include path--such as
libintl--then other dependencies might be drawn from /opt/local at
compile time, even though we detected them elsewhere at configure time.
This, in turn, causes issues with mixed versions, such as the iconv.h
header being pulled from /opt/local/include, but linked against the
library in /usr/lib--which can be mismatched versions.
So, despite CMake's best effort to treat /sw and /opt/local as just
another system area, we really need to give them preferential treatment.
To do this, we add them to CMAKE_PREFIX_PATH.
This fixes an issue discovered while re-enabling iconv in #1370.
Diffstat (limited to 'test/functional/shell/viml_system_spec.lua')
0 files changed, 0 insertions, 0 deletions