<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If your set <span class="" style="font-family: 'Helvetica Neue';">CMAKE_OSX_DEPLOYMENT_TARGET in order to get find modules to work on Xcode6 or above you get this message:</span><div class=""><span class="" style="font-family: 'Helvetica Neue';"><br class=""></span></div><div class=""><span class="" style="font-family: 'Helvetica Neue';">$ cmake -D </span><font face="Helvetica Neue" class="">CMAKE_OSX_DEPLOYMENT_TARGET=10.8 .</font></div><div class=""><font face="Helvetica Neue" class="">  CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but the matching SDK does not exist<br class="">  at:<br class=""><br class="">   "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"<br class=""><br class="">  Instead using SDK:<br class=""><br class="">   "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk".<br class="">Call Stack (most recent call first):<br class="">  /Applications/CMake.app/Contents/share/cmake-3.5/Modules/CMakeSystemSpecificInitialize.cmake:18 (include)<br class="">  CMakeLists.txt:25 (project)<br class=""></font><br class=""></div><div class=""><br class=""></div><div class="">CMake is setting the value of --mmacosx-version-min= to this value. Which SDK you have does not need to be the same as the target deployment (which can be less than the SDK). That is to say the 10.10sdk can target 10.8, meaning code compiled with 10.8 set as the target will run on 10.8, 10.9 and 10.10 machines.</div><div class=""><br class=""></div><div class="">- James</div></body></html>