Making CMake choose static linkage when possible?

Sounds like you need to add CMAKE_EXE_LINKER_FLAGS=-static.

However, don't forget it is GCC specific solution. Though, OP doesn't specify what compiler/linker/system is under consideration. – mloskot Jan 26 '10 at 15:55.

...and don't forget that besides being a gcc specific solution, gcc will fail to link if you pass -static but not all libraries provided for linkage are static - which can easily happen if you use the FindXXXX. Cmake modules.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions