[CMake] Problem of using cmake for Qt4 application

William A. Hoffman billlist at nycap.rr.com
Mon Aug 7 11:05:32 EDT 2006


At 10:38 AM 8/7/2006, Fu Limin wrote:
>Thank you for the hint!
> From the log file, I find out the problem is due to an error in determing pthread library, it used -lpthreads flag to link the testing code. I don't understand why it does not use -lpthread without s. I guess this testing is invoked by the macro FIND_PACKAGE(Threads) in the FindQt4.cmake. Is there a work around  for this?
I am not sure what this has to do with CHECK_SYMBOL_EXISTS, I think you maybe tracking down the
wrong problem.

-Bill




More information about the CMake mailing list