[cmake-developers] [CMake 0013881]: FindGTK2 puts libraries in GTK2_LIBRARIES in wrong order

Mantis Bug Tracker mantis at public.kitware.com
Fri Jan 25 17:03:46 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13881 
====================================================================== 
Reported By:                Rodolfo Schulz de Lima
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13881
Category:                   Modules
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2013-01-25 17:03 EST
Last Modified:              2013-01-25 17:03 EST
====================================================================== 
Summary:                    FindGTK2 puts libraries in GTK2_LIBRARIES in wrong
order
Description: 
When creating GTK2_LIBRARIES, FindGTK2 adds the GTK dependencies in wrong order
into GTK2_LIBRARIES. With dynamic libraries this isn`t a major problem, but when
linking to static gtk libraries, the linker outputs a lot of undefined symbols.

Steps to Reproduce: 
link to static gtk libraries on windows using mingw

Additional Information: 
I've reordered the calls that append libraries to GTK2_LIBRARIES and attached
the resulting file to this report issue. It works on my system.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-01-25 17:03 Rodolfo Schulz de LimaNew Issue                                
   
2013-01-25 17:03 Rodolfo Schulz de LimaFile Added: FindGTK2.cmake               
    
======================================================================




More information about the cmake-developers mailing list