MantisBT - CMake
View Issue Details
0011140CMakeModulespublic2010-08-18 06:552011-05-02 14:45
Mike McQuaid 
David Cole 
normalfeaturealways
closedfixed 
CMake-2-8 
CMake 2.8.4CMake 2.8.4 
0011140: InstallRequiredSystemLibraries defaults to /bin on Win32
/bin is hardcoded for binaries in a few places in the CMake codebase, this is another one.

It would be good if you could specify an argument to have the binaries installed somewhere other than /bin on Windows (or /lib outside of Windows).
No tags attached.
Issue History
2010-08-18 06:55Mike McQuaidNew Issue
2010-08-18 06:56Mike McQuaidNote Added: 0021800
2010-12-13 07:06Mike McQuaidNote Added: 0023910
2010-12-15 11:21David ColeAssigned To => David Cole
2010-12-15 11:21David ColeStatusnew => assigned
2010-12-15 11:23David ColeNote Added: 0024161
2010-12-15 11:23David ColeStatusassigned => resolved
2010-12-15 11:23David ColeFixed in Version => CMake 2.8.4
2010-12-15 11:23David ColeResolutionopen => no change required
2010-12-15 13:55Mike McQuaidNote Added: 0024180
2010-12-15 13:55Mike McQuaidStatusresolved => feedback
2010-12-15 13:55Mike McQuaidResolutionno change required => reopened
2011-01-06 06:54Mike McQuaidNote Added: 0024448
2011-01-06 06:54Mike McQuaidStatusfeedback => assigned
2011-01-06 12:55David ColeTarget Version => CMake 2.8.4
2011-01-06 12:55David ColeNote Added: 0024466
2011-01-06 12:55David ColeStatusassigned => resolved
2011-01-06 12:55David ColeResolutionreopened => fixed
2011-05-02 14:45David ColeNote Added: 0026338
2011-05-02 14:45David ColeStatusresolved => closed

Notes
(0021800)
Mike McQuaid   
2010-08-18 06:56   
I can create a patch for this if it would be accepted.
(0023910)
Mike McQuaid   
2010-12-13 07:06   
4 months later ping. If I shouldn't be bugs on the bug tracker can you suggest the best way of getting these looked at?

Thanks!
(0024161)
David Cole   
2010-12-15 11:23   
You can already do this. Just:
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP ON)
before including InstallRequiredSystemLibraries.

Then add your own install rules after including it, that install ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} to your desired location.

That's the way to do override the default location of "bin" which we are not going to change for backwards compatibility reasons.
(0024180)
Mike McQuaid   
2010-12-15 13:55   
I'll try and start writing a patch for this based on email feedback. Thanks!
(0024448)
Mike McQuaid   
2011-01-06 06:54   
Pull request added: https://github.com/Kitware/CMake/pull/1 [^]
(0024466)
David Cole   
2011-01-06 12:55   
Fixed in this git commit, just pushed to 'next':
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=492cd84fc5171fb030b19c12f5f72eea0f0ccda2 [^]

Should make it into 2.8.4...

Thanks, Mike McQuaid, for the patch / pull request!
(0026338)
David Cole   
2011-05-02 14:45   
Closing resolved issues that have not been updated in more than 3 months.