<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt; I have been torturing myself over the following short bit of code all</span><br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt; day to no avail, so I&#39;m sending out an email to this list in the hopes</span><br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt; that someone can catch whatever stupid mistake I&#39;m making.  The code,</span><br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt; which is supposed to find two dependencies for a project is run using</span><br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt; find_package(MacDeps) from my main script.</span><br><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt;</span><br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt; set(CMAKE_FIND_FRAMEWORK</span><br><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt;       /Library/Frameworks</span><br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt;       /System/Library/Frameworks</span><br><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt;       ~/Library/Frameworks</span><br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">&gt; )</span><br><font class="Apple-style-span" color="#333333" face="arial, sans-serif" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"><br>
</span></font><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">This is invalid. Allowed values for CMAKE_FIND_FRAMEWORK are FIRST,</span><br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">LAST, ONLY and NEVER. See <a href="http://cmake.org/cmake/help/cmake2.6docs.html#command" target="_blank" style="color: rgb(55, 67, 82); ">http://cmake.org/cmake/help/cmake2.6docs.html#command</a></span><br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">:find_library</span></blockquote><div><br></div><div>So what I SHOULD have been using was <span class="Apple-style-span" style="font-family: monospace, Arial, Helvetica, sans-serif; font-size: 10px; line-height: 20px; white-space: pre; ">CMAKE_SYSTEM_FRAMEWORK_PATH.<span class="Apple-style-span" style="font-family: arial; font-size: small; line-height: normal; white-space: normal; ">  DOH!  Sorry for the bother but thanks for the help.</span></span></div>