> Hello, > > actual I'm struggling with CMAKE INSTALL command on Windows Vista, when > I try to copy the resulting DLL to the system32 folder using this > command: > > INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/lib${LIBRARY_NAME}.dll DESTINATION > $ENV{SYSTEMROOT}/System32/) > > On XP this command could be used without any failure. On Vista i got the > error message that the dll could not copied. It seems to me that cmake > has not the permission to execute this command running the script from > my MSYS/MinGW environment. Is it possible to give cmake those > permissions on install command?
Put your install command in a script an then "run as Administrator"? Eike _______________________________________________ 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