[CMake] Changing default cpack installation path

Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA artur.kedzierski at navy.mil
Mon Oct 1 14:33:35 EDT 2007


	Hi,

	Is there a way to change the default installation path in cpack?
This is for NSIS installer on Windows. I tried changing 
CPACK_PACKAGE_INSTALL_DIRECTORY but
no matter what I set it to, "Program Files" always gets added. Anyway 
to get around it?
	We use CPack to package some libraries to install them on
programmer's workstations. However, their Find*.cmake that come with
Cmake
expects them in specific locations. For example, FindBoost.cmake
wants Boost in '/boost' or FindZlib.cmake wants zlib in '/usr'. I don't
want
users installing these packages to remember to change these paths to
correct
values. I would like the installation process to be clicking 'next',
'next', 'finish' buttons.

--
Artur Kedzierski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071001/881d95bd/attachment.htm


More information about the CMake mailing list