diff options
author | Harry Mallon <harry@codexdigital.com> | 2016-05-25 17:18:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-07 13:04:35 (GMT) |
commit | 188baef00c3b19c6ee6ed8c3735817bae50f110e (patch) | |
tree | 420aad8b892720ef8049ea18493f39c3f73330c9 /Tests/RunCMake/find_path/RunCMakeTest.cmake | |
parent | eeac8430bf014b4813f2326c9824acacdc0ea49a (diff) | |
download | CMake-188baef00c3b19c6ee6ed8c3735817bae50f110e.zip CMake-188baef00c3b19c6ee6ed8c3735817bae50f110e.tar.gz CMake-188baef00c3b19c6ee6ed8c3735817bae50f110e.tar.bz2 |
find_path: Fix location of <dir/header.h> in a framework on OS X
After finding it in `foo.Framework/Headers/dir/header.h`, we should
report the `foo.Framework/Headers` directory, not
`foo.Framework/Headers/dir`, because the former is what actually
contains the path the caller wishes to include.
Diffstat (limited to 'Tests/RunCMake/find_path/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/find_path/RunCMakeTest.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_path/RunCMakeTest.cmake b/Tests/RunCMake/find_path/RunCMakeTest.cmake index 5ce96e0..bf0fa89 100644 --- a/Tests/RunCMake/find_path/RunCMakeTest.cmake +++ b/Tests/RunCMake/find_path/RunCMakeTest.cmake @@ -3,3 +3,7 @@ include(RunCMake) if(WIN32 OR CYGWIN) run_cmake(PrefixInPATH) endif() + +if(APPLE) + run_cmake(FrameworksWithSubdirs) +endif() |