The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13519 
====================================================================== 
Reported By:                Jtappin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13519
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-09-05 23:02 EDT
Last Modified:              2012-09-05 23:02 EDT
====================================================================== 
Summary:                    FindGTK2 fails to include libgmodule
Description: 
When building a package that uses cmake as its build system and includes GTK2,
the libgmodule library of glib is not included in the linking list.

The specific example is one of the test codes for gtk-fortran.

Steps to Reproduce: 
On a system with PC-BSD installed. Needs the gtk+ 2 libraries & gfortran.

1) Download gtk-fortran (branch gtk2-old) from github.com:
    git pull https://github.com/jerryd/gtk-fortran.git gtk2-old

2) Build it:
    mkdir build
    cd build
    cmake -D CMAKE_Fortran_COMPILER=gfortran46 ..
    make

3) Run the gtkbuilder2 example:
    ./examples/gtkbuilder2

   The callback routines are not found, c.f. gtkbuilder which does not need 
libgmodule where they are found.

Additional Information: 
I have only seen the problem on BSD, not Linux. 


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-09-05 23:02 Jtappin        New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to