• Harris Hancock's avatar
    cmake: Use search-specific-dirs-then-system-dirs idiom · df0fbbe3
    Harris Hancock authored
    An inconsistency was introduced with the previous fix to allow Cap'n Proto
    installations in system directories to be found by CapnProtoTargets.cmake:
    if the user installed Cap'n Proto in two locations, one of which is a
    system directory, e.g. /usr and /somewhere/else, and set
    PKG_CONFIG_PATH=/somewhere/else/lib/pkgconfig, the dependent project
    would use headers from /somewhere/else/include, but libraries from /usr/lib.
    
    This change resolves the inconsistency, allowing PKG_CONFIG_PATH to solely
    control the location of the desired installation of Cap'n Proto.
    df0fbbe3
Name
Last commit
Last update
c++ Loading commit data...
doc Loading commit data...
highlighting Loading commit data...
security-advisories Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
RELEASE-PROCESS.md Loading commit data...
appveyor-cygwin.sh Loading commit data...
appveyor.yml Loading commit data...
mega-test-kenton-home.cfg Loading commit data...
mega-test-kenton-work.cfg Loading commit data...
mega-test-quick.cfg Loading commit data...
mega-test.py Loading commit data...
release.sh Loading commit data...
style-guide.md Loading commit data...
super-test.sh Loading commit data...