2011/12/17 Totte Karlsson <to...@dunescientific.com>: > > But I found this NSIS specific setting > CPACK_NSIS_INSTALL_ROOT > But setting that as C:\\ still create the error: "Function missing ending > ")" ". > > Not sure how to get this one right..
set(CPACK_NSIS_INSTALL_ROOT "C:") should work. It is awkward but since the template contains: InstallDir "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@" you cannot remove middle "\", thus the unexpected "C:" (not back slashes whatsoever) -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake