<div dir="ltr"><div><div>Hi.<br><br></div>In your e-mail, there are curly quotes in the set() command. Is that an artifact of e-mailing, or are they actually present in your code? The latter could indeed cause the error you're seeing.<br><br></div>Petr<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 August 2016 at 17:09, Cotton Candy <span dir="ltr"><<a href="mailto:cottoncandycoder@gmail.com" target="_blank">cottoncandycoder@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br></div>Cmake was having trouble finding the MySQL libraries on my machine so I tried using find_package with a package finder that I downloaded (<a href="https://gist.github.com/RenatoUtsch/1623340" target="_blank">https://gist.github.com/<wbr>RenatoUtsch/1623340</a>) called FindMySQL.cmake.<br><br></div>In my CMakeLists.txt file I added:<br><br>------------------------<br>set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} “/Users/jones/Dropbox/Skedmo/<wbr>skedmo-solver-lean/cmake/”)<br><br>find_package(MySQL)<br>------------------------<br><br></div>And I made sure that FindMySQL.cmake was in the directory that I added to the CMAKE_MODULE_PATH. <br><br></div>Every time I press "Configure" on the GUI, I get the same warning message:<br><br>

<p style="margin:0px;text-indent:0px"><span style="color:rgb(255,0,0)">CMake Warning at CMakeLists.txt:38 (find_package):<br>  By not providing "FindMySQL.cmake" in CMAKE_MODULE_PATH this project has<br>  asked CMake to find a package configuration file provided by "MySQL", but<br>  CMake did not find one.<br><br>  Could not find a package configuration file provided by "MySQL" with any of<br>  the following names:<br><br>    MySQLConfig.cmake<br>    mysql-config.cmake<br><br>  Add the installation prefix of "MySQL" to CMAKE_PREFIX_PATH or set<br>  "MySQL_DIR" to a directory containing one of the above files.  If "MySQL"<br>  provides a separate development package or SDK, be sure it has been<br>  installed.</span></p><br><div><div>If I continue with "Generate", ultimately the resulting makefile does not work. I get errors at the linker stage.<br><br><br></div><div>A few details about my environment:<br><br></div><div>I am working on a MacBook Pro running OS X 10.9.5.<br></div><div>I am using MAMP to run MySQL.<br></div><div>The project builds just fine using Xcode, but I am trying to switch to CMake.<br><br></div><div>Thanks for your help.<br><br></div><div><br></div></div></div>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/<wbr>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/cmake</a><br></blockquote></div><br></div>