[cmake-developers] [CMake 0013519]: FindGTK2 fails to include libgmodule
Mantis Bug Tracker
mantis at public.kitware.com
Wed Sep 5 23:02:39 EDT 2012
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
======================================================================
More information about the cmake-developers
mailing list