[CMake] Why are my static libs not being read?

John Drescher drescherjm at gmail.com
Tue Jul 31 14:26:01 EDT 2012


On Tue, Jul 31, 2012 at 2:21 PM, Toronto Andrew
<andrew.louis93 at gmail.com> wrote:
> Include it using the flags? Like so:
>
>
> TARGET_LINK_LIBRARIES(CppSampleQt01 ${QT_LIBRARIES} SIMPLONLIB
> SIMPLONIMGPROC) ?
>
> Because when I did this, the libs were not found either.
>

I think it should be:

TARGET_LINK_LIBRARIES(CppSampleQt01 ${QT_LIBRARIES} ${SIMPLONLIB}
${SIMPLONIMGPROC})

since both of these should be variables.




John


More information about the CMake mailing list