<div dir="ltr">Yeah so after tinkering with it, if I added my sdk bin directory (C:\mapserver\SDK\release-1800\bin in this case) to my PATH environmental variable, then it worked. Seems a little weird considering every other plugin could properly read the CMAKE_PREFIX_PATH just fine.</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 15, 2015 at 12:40 PM kelly elton <<a href="mailto:its.the.doc@gmail.com">its.the.doc@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Having issues running cmake on mapserver on windows using the sdk from gisinternals<div><br></div><div>c:\mapserver\mapserver\build>cmake .. -DWITH_POSTGIS=0 -DWITH_CSHARP=1 -DCMAKE_CURRENT_BINARY_DIR="C:\mapserver\swigwin-1.3.40" -DMSVC_VER=1800 -DMSVC_VERSION=1600 -DCMAKE_PREFIX_PATH="C:\mapserver\SDK\release-1800\bin;C:\mapserver\SDK\release-1800\include;C:\mapserver\SDK\release-1800\lib;c:\mapserver\regex-0.12;C:\mapserver\swigwin-1.3.40"<br></div><div><br></div><div><div>CMake Error at CMakeLists.txt:69 (message):</div><div>  ICONV library/component/dependency could not be found.</div><div><br></div><div>    HINTS:</div><div>    - disable ICONV support by adding -DWITH_ICONV=0</div><div>    - add the ICONV install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/ICONV-install-dir;/path/to/other/dirs"</div><div>Call Stack (most recent call first):</div><div>  CMakeLists.txt:429 (report_optional_not_found)</div></div><div><br></div><div>iconv.dll iconv.h and iconv.lib are all present in the sdk</div></div></blockquote></div>