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

2012-07-31 Thread Toronto Andrew
The qt libraries are included in the target link flag (this project uses qt of course), however the two lib files that exist in the lib folder in the same directory are either not recognized. They draw up linker issues in the compiler, even though I can tell through the cmake gui that it does find

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

2012-07-31 Thread John Drescher
The qt libraries are included in the target link flag (this project uses qt of course), however the two lib files that exist in the lib folder in the same directory are either not recognized. They draw up linker issues in the compiler, even though I can tell through the cmake gui that it does

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

2012-07-31 Thread Toronto Andrew
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. -- View this message in context:

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

2012-07-31 Thread John Drescher
On Tue, Jul 31, 2012 at 2:21 PM, Toronto Andrew andrew.loui...@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:

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

2012-07-31 Thread Toronto Andrew
Thank you John, this did work. I get the idea now, thank you. I have another concern though, that I hope I can be helped with though it's doesn't fall under the original problem. So I am using a project within my project: http://i.imgur.com/bqqnp.png, and I found a custom

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

2012-07-31 Thread John Drescher
On Tue, Jul 31, 2012 at 2:54 PM, Toronto Andrew andrew.loui...@gmail.com wrote: Thank you John, this did work. I get the idea now, thank you. I have another concern though, that I hope I can be helped with though it's doesn't fall under the original problem. So I am using a project within my