[Cmake] Adding linker flags in CMakeLists.txt

Dean Browne DeanB at plumtree . com
Mon, 25 Aug 2003 14:29:44 -0700


I'm not sure if this is something I should be emailing to the whole =
group so sorry if this is spam to you.
I've been trying to add a linker flag to a build on Solaris of a .so =
file.  I don't see an option for adding linker flags in the =
documentation, just one for adding compiler flags.  I searched around on =
the Web and found references to CMAKE_SHARED_LINKER_FLAGS and =
CMAKE_EXTRA_LINK_FLAGS but they were in reference to older versions of =
CMake.  I'm running 1.6 patch 7.
Is there a way to add linker options still?
Thanks,
-D