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.
On Tue, Dec 15, 2015 at 12:40 PM kelly elton <[email protected]> wrote: > Having issues running cmake on mapserver on windows using the sdk from > gisinternals > > 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" > > CMake Error at CMakeLists.txt:69 (message): > ICONV library/component/dependency could not be found. > > HINTS: > - disable ICONV support by adding -DWITH_ICONV=0 > - add the ICONV install directory to the CMAKE_PREFIX_PATH variable > (-DCMAKE_PREFIX_PATH="/path/to/ICONV-install-dir;/path/to/other/dirs" > Call Stack (most recent call first): > CMakeLists.txt:429 (report_optional_not_found) > > iconv.dll iconv.h and iconv.lib are all present in the sdk >
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
