[CMake] shared lib on mac

Alexander Neundorf a.neundorf-work at gmx.net
Mon Mar 2 14:56:51 EST 2009


On Monday 02 March 2009, Nicolas Slythe (Intern) wrote:
> When I add a library target with add_library command
> If my lib type is SHARED I get this error at link time on apple "no input
> files" and if I look at the command there is realy no input file ".o" 
> specified. And if the lib is static everything work fine with the same
> source file.
>
> Is there something I missed

Please show us the relevant parts of the CMakeLists.txt which cause the 
problem for you, otherwise we can't really help.

Alex


More information about the CMake mailing list