Christian Ehrlicher wrote:
Hi,

ist there something like target_link_libraries(debug fooD.lib release foo.lib) 
possible for flags?
It's needed to make Qt plugins work (yes, you can't properly build Qt plugins 
on windows with cmake).


Christian
This was fixed recently in CVS for Qt projects. If you want to grab it, build it and give it a try, go ahead. Or you can stick with whatever CMake version you're using and copy what it does in UseQt4.cmake to define QT_NO_DEBUG into your project's CMakeLists.txt file.
http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/UseQt4.cmake?root=CMake&view=markup

Clint

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to